comparison myrss2/myrss_test_server.py @ 134:e3dd2ebf1299

myrss2: FEEDS: add PBS NewHour, The Drive; update Nautilus; remove Roads & Kingdom
author paulo
date Mon, 14 Mar 2022 08:10:48 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:ab4517f69aef
1 import wsgiref.simple_server
2 import socketserver
3
4 import myrss_app
5
6
7 if __name__ == "__main__":
8 with wsgiref.simple_server.make_server('', 8000, myrss_app.MyRssApp()) as httpd:
9 httpd.serve_forever()