Quick note: forgot to add that the initial db file is setup with the following:

import sqlite3 as lite
class db(object):
        def onNewProjSQLDB(self):
                self.con = 
lite.connect('/home/david/pythonfiles/pythonscripts/roughdraftapps/dataplot3/db/dpdb.db')
                self.cur = self.con.cursor()
                #rows and columns are singular in project, and position is
individual to graph/overlayed graphs
                self.cur.execute('''create table projectbob(graphname, 
typeograph )''')
# Save (commit) the changes
                self.con.commit()

                
                self.cur.close()
                self.con.close()
db = db()
db.onNewProjSQLDB()
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to