mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-21 20:18:06 +02:00
11 lines
152 B
Python
11 lines
152 B
Python
import os
|
|||
import sqlite3
|
|||
|
|||
conn = sqlite3.connect(":memory:")
|
|||
cursor = conn.cursor()
|
|||
|
|||
|
|||
def handle():
|
|||
x = input()
|
|||
os.system(x); cursor.execute(x)
|