Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/t/r/trait-o-matic-HEAD/core/gff_hgmd_map.py   trait-o-matic(Download)
import simplejson as json
from utils import gff
from config import DB_HOST, HGMD_USER, HGMD_PASSWD, HGMD_DATABASE
 
query = '''
	# first, try to connect to the databases
	try:
		connection = MySQLdb.connect(host=DB_HOST, user=HGMD_USER, passwd=HGMD_PASSWD, db=HGMD_DATABASE)
		cursor = connection.cursor()
	except MySQLdb.OperationalError, message: