Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/p/a/PatchWerk-Radio-HEAD/app/PatchWerk.py   PatchWerk-Radio(Download)
import signal
import ConfigParser
from DbInterface import DbInterface
from DbInterface import Logger
from Radio import Radio
    dbHost   = config.get('database', 'host')
    dbName   = config.get('database', 'dbname')
    dbI      = DbInterface(dbUser, dbPasswd, dbName, dbHost)
 
    log = Logger(dbI, options.verbose)

src/p/a/PatchWerk-Radio-HEAD/misc/infoLoad.py   PatchWerk-Radio(Download)
#!/usr/bin/env python
 
from DbInterface import DbInterface
import ConfigParser
import sys
 
try:
    dbi = DbInterface(opts.user, opts.passwd, opts.dbname, opts.host)
except MySQLdb.Error, e:
    print "Error %d: %s" %(e.args[0], e.args[1])

src/p/a/PatchWerk-Radio-HEAD/app/DbInterface/__init__.py   PatchWerk-Radio(Download)
from DbInterface import DbInterface
from DbInterface import Patch
from DbInterface import Logger