|
@@ -4,7 +4,7 @@ import webbrowser
|
|
|
from threading import Timer
|
|
from threading import Timer
|
|
|
from flask import render_template
|
|
from flask import render_template
|
|
|
from flask_cors import CORS
|
|
from flask_cors import CORS
|
|
|
-
|
|
|
|
|
|
|
+import string
|
|
|
app = Flask(__name__)
|
|
app = Flask(__name__)
|
|
|
|
|
|
|
|
CORS(app, resources=r'/*')
|
|
CORS(app, resources=r'/*')
|
|
@@ -33,5 +33,9 @@ def open_browser():
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
if __name__ == '__main__':
|
|
|
- # Timer(1, open_browser).start()
|
|
|
|
|
|
|
+ Timer(1, open_browser).start()
|
|
|
app.run(port=9000, debug=True, host='0.0.0.0')
|
|
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'))
|