<s> try : <EOL> from gevent . monkey import patch_all <EOL> patch_all ( subprocess = False , aggressive = False ) <EOL> from gevent . pywsgi import WSGIServer <EOL> except ImportError : <EOL> print '<STR_LIT>' <EOL> from sina import Sina <EOL> from sina . config import DEFAULT_CONFIG <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> app = Sina ( DEFAULT_CONFIG ) <EOL> server = WSGIServer ( ( '<STR_LIT>' , <NUM_LIT> ) , app ) <EOL> server . serve_forever ( ) </s>
