Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  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/r/a/RallyRestToolkitForPython-HEAD/pyral/restapi.py   RallyRestToolkitForPython(Download)
 
# intra-package imports
from .config  import PROTOCOL, SERVER, WS_API_VERSION, WEB_SERVICE, SCHEMA_SERVICE, AUTH_ENDPOINT
from .config  import RALLY_REST_HEADERS
from .config  import USER_NAME, PASSWORD 

src/s/i/sirc-HEAD/bot.py   sirc(Download)
            factory = irc.connection.Factory()
        irc.bot.SingleServerIRCBot.__init__(self,
            [(config.SERVER, config.PORT), ],
            config.BOT_NAME,
            'm',

src/t/r/triviabot-HEAD/trivia.py   triviabot(Download)
if __name__ == "__main__":
    # these two lines do the irc connection over ssl.
    reactor.connectSSL(config.SERVER, config.SERVER_PORT,
                       ircbotFactory(), ssl.ClientContextFactory())
    # reactor.connectTCP(config.SERVER, config.SERVER_PORT, ircbotFactory())

src/o/p/openerp-extra-6.1-HEAD/base_translation/wizard/wizard_upload_contribution.py   openerp-extra-6.1(Download)
import config
 
s = xmlrpclib.Server("http://"+config.SERVER+":"+str(config.PORT))
 
view_form_end = """<?xml version="1.0"?>

src/o/p/openerp-extra-6.1-HEAD/base_translation/wizard/wizard_publish_new_version.py   openerp-extra-6.1(Download)
 
import config
s = xmlrpclib.Server("http://"+config.SERVER+":"+str(config.PORT))
 
view_form_end = """<?xml version="1.0"?>

src/o/p/openerp-extra-6.1-HEAD/base_translation/wizard/wizard_download_file_for_publish.py   openerp-extra-6.1(Download)
import config
 
s = xmlrpclib.Server("http://"+config.SERVER+":"+str(config.PORT))
 
view_form_end = """<?xml version="1.0"?>

src/o/p/openerp-extra-6.1-HEAD/base_translation/wizard/wizard_download_file_for_contrib.py   openerp-extra-6.1(Download)
import base_translation.translation
 
s = xmlrpclib.Server("http://"+config.SERVER+":"+str(config.PORT))
 
view_form_end = """<?xml version="1.0"?>

src/t/o/ToMaTo-HEAD/backend/tomato/rpcserver.py   ToMaTo(Download)
def start():
	print >>sys.stderr, "Starting RPC servers"
	global servers
	del servers[:]
	for settings in config.SERVER: