Back to index

python3.2  3.2.2
simple_tableprinter Namespace Reference


string TABLE_NAME = 'people'
string SELECT = 'select * from %s order by age, name_last'
tuple con = sqlite3.connect("mydb")
tuple cur = con.cursor()
tuple fieldIndices = range(len(cur.description))
tuple fieldValue = str(row[fieldIndex])

Variable Documentation

tuple simple_tableprinter.con = sqlite3.connect("mydb")

Definition at line 7 of file

tuple simple_tableprinter.cur = con.cursor()

Definition at line 9 of file

Definition at line 3 of file

tuple simple_tableprinter.fieldIndices = range(len(cur.description))

Definition at line 20 of file

tuple simple_tableprinter.fieldValue = str(row[fieldIndex])

Definition at line 23 of file

string simple_tableprinter.SELECT = 'select * from %s order by age, name_last'

Definition at line 5 of file

Definition at line 4 of file