Did I find the right examples for you? yes no

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)
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/g/l/glass.py-HEAD/examples/foursquare/app.py   glass.py(Download)
 
if __name__ == '__main__':
    print "Starting application at %s:%i" % (config.HOST, config.PORT)
    app.run(port=config.PORT, host=config.HOST)
 

src/w/i/winnie-HEAD/winnie.py   winnie(Download)
 
    # WebSocket interface
    wsf = ws.WSFactory( 'ws://%s:%s'%(cfg.HOST, cfg.WS_PORT) )
    wsf.irc = factory
    factory.wsf = wsf

src/s/e/sentiment-web-HEAD/server.py   sentiment-web(Download)
from flask import Flask, render_template, request, jsonify, make_response
from info import classify2
from math import e
from redis import Redis
from config import STATS_KEY, HOST, RHOST, RPASS, RPORT
def api():
	return render_template('api.html', host=HOST)
 
@app.route('/about/')
def about():

src/w/e/webot-0.0.1/webot/app.py   webot(Download)
 
if __name__ == '__main__':
    app.run(host=config.HOST, port=config.PORT, debug=True)
 

src/b/y/byd.me-HEAD/byd.me/weixin.py   byd.me(Download)
 
if __name__ == '__main__':
    app.run(host=config.HOST, port=config.PORT, debug=True)
 

src/r/e/regexdict-0.0.1/src/regexdict/app.py   regexdict(Download)
 
if __name__ == '__main__':
    bottle.run(host=config.HOST, port=config.PORT, debug=config.DEBUG)
 

src/r/e/regexdict-HEAD/src/regexdict/app.py   regexdict(Download)
 
if __name__ == '__main__':
    bottle.run(host=config.HOST, port=config.PORT, debug=config.DEBUG)
 

src/g/a/gae-reverse-proxy-HEAD/src/main.py   gae-reverse-proxy(Download)
# application
from proxy import HandlerFactory
from config import NETLOC, HOST, SCHEME
 
 
def main():
  application = webapp.WSGIApplication([('.*', HandlerFactory(SCHEME, NETLOC, HOST))],

src/g/a/gae-reverse-proxy-HEAD/src/proxy.py   gae-reverse-proxy(Download)
from google.appengine.api import memcache
 
from config import NETLOC, HOST, SCHEME
from epoch  import rfc1123_to_Epoch
 

src/o/v/Oven-0.2.2/oven/oven.py   Oven(Download)
def main():
    app.debug = config.DEBUG 
    app.run(host=config.HOST, port=config.PORT)
 
if __name__ == "__main__":

  1 | 2  Next