view myrss2/myrss_test_server.py @ 128:a26c4388749b

myw2: update hourly URL
author paulo
date Mon, 10 Jan 2022 00:26:27 -0800
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()