Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Namespaces | Variables
sample_db_usage.py File Reference

Go to the source code of this file.

Namespaces

namespace  sample_db_usage

Variables

string sample_db_usage.hostname = 'server.foo.org'
string sample_db_usage.dbname = 'name'
string sample_db_usage.username = 'username'
string sample_db_usage.password = 'password'
tuple sample_db_usage.conn = MySQLdb.connect(passwd=password, db=dbname, host=hostname, user=username)
tuple sample_db_usage.cur = conn.cursor()
tuple sample_db_usage.count = cur.execute('show tables')
tuple sample_db_usage.result = str(count)
tuple sample_db_usage.txtName = scribus.createText(10, 10, 200, 200)