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

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

src/c/x/CXPhasing-0.3.0/cxphasing/init_CXPhasing_mysql.py   CXPhasing(Download)
import pdb
import CXParams as CXP
from CXDb import SimpleDB
 
welcome_msg = """
 
    try:
        xdb   = SimpleDB(user=super_user, dbname='mysql',
                         passwd=super_pass, host = CXP.db.dbhost)
    except:

src/c/x/CXPhasing-0.3.0/cxphasing/CXPhasing.py   CXPhasing(Download)
from numpy.random import uniform
import pylab
from CXDb import SimpleDB
from matplotlib import cm
from matplotlib.patches import Circle
    def init_db_conn(self):
 
        # Make db connection
        self.db = SimpleDB()
        self.dbconn = self.db.conn