泡泡 4 years ago
parent
commit
740bf4b202
2 changed files with 6 additions and 2 deletions
  1. 0 0
      HealthUtil.py
  2. 6 2
      app.py

+ 0 - 0
HealthUtil.py


+ 6 - 2
app.py

@@ -4,7 +4,7 @@ import webbrowser
 from threading import Timer
 from flask import render_template
 from flask_cors import CORS
-
+import string
 app = Flask(__name__)
 
 CORS(app, resources=r'/*')
@@ -33,5 +33,9 @@ def open_browser():
 
 
 if __name__ == '__main__':
-    # Timer(1, open_browser).start()
+    Timer(1, open_browser).start()
     app.run(port=9000, debug=True, host='0.0.0.0')
+    # str ="\xc1\xf5\xbf\xad\xcf\xc8\xc9\xfa\r\n\xc9\xed\xb8\xdf\xa3\xba"
+    # str = "this is string example....wow!!!";
+    #
+    # print(str.decode('utf-8'))