#!/usr/bin/env python
from flask import Flask

# app = Flask('timevis')
app = Flask('timevis')


def main():
    app.run(host='0.0.0.0', port=8000, debug=True)

if __name__ == '__main__':
    main()

@@ -38,16 +38,34 @@
 rt Flask
+%0Aimport webbrowser
 %0A%0A# app 
@@ -121,10 +121,42 @@
 ain(
-):
+port=8000):%0A    # Begin the server
 %0A   
@@ -204,16 +204,101 @@
 =True)%0A%0A
+    # Open a window%0A    webbrowser.open(%22http://localhost:%7B%7D/%22.format(port), new=2)%0A%0A
 if __nam

Add webbrowser