view myrss2/myrss_test_server.py @ 112:17454b47b15f

add myw2
author paulo
date Sun, 28 Jun 2020 20:53:33 -0700
parents
children
line source
1 import wsgiref.simple_server
2 import socketserver
4 import myrss_app
7 if __name__ == "__main__":
8 with wsgiref.simple_server.make_server('', 8000, myrss_app.MyRssApp()) as httpd:
9 httpd.serve_forever()