Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python sqlobject declare connection

import os
db_filename = os.path.abspath('data.db')
connection_string = 'sqlite:' + db_filename
connection = connectionForURI(connection_string)
sqlhub.processConnection = connection
Source by www.sqlobject.org #
 
PREVIOUS NEXT
Tagged: #python #sqlobject #declare #connection
ADD COMMENT
Topic
Name
5+3 =