« first day (1559 days earlier)      last day (2019 days later) » 

11:05
yes I will post..import mysql.connector
class MyDB:
global cursor
def __init__(self, hs, us, pw, db):
conn = mysql.connector.connect(host = hs, user=us, passwd = pw, database = db)
#global cursor
cursor = conn.cursor();
cursor.execute("show TABLES")
print(cursor.fetchall())

db2 = MyDB("localhost","root","","mydbsnh")
1 message moved from Python
 
2 hours later…
Sam
Sam
12:42
import sys
reminderfile = open(os.path.join(os.path.expanduser('~'), 'Scripts', 'reminder', 'reminders', "a")

if len(sys.argv) > 1:
reminderfile.write(sys.argv[1])
reminderfile.close()
else:
print(reminderfile.read())
1 message moved from Python

« first day (1559 days earlier)      last day (2019 days later) »