File: run_standalone.py

package info (click to toggle)
python-gevent 24.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 20,364 kB
  • sloc: python: 138,768; ansic: 87,807; sh: 12,548; makefile: 2,379; javascript: 108
file content (6 lines) | stat: -rwxr-xr-x 207 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
#!/usr/bin/python
from __future__ import print_function
from gevent.wsgi import WSGIServer
from application import application
print('Serving on 8000...')
WSGIServer(('', 8000), application).serve_forever()