flask

1、flask-examples

https://github.com/miguelgrinberg/flask-examples

http://www.bjhee.com/flask-ad1.html

2、flask-socketio

https://github.com/miguelgrinberg/Flask-SocketIO

https://www.jianshu.com/p/d81397edd2b1

1)sudo pip install flask-socketio

2)cd Flask-SocketIO-master/example

3)sudo pip install requirements.txt

4)python app.py

5)* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

6) https://flask-socketio.readthedocs.io/en/latest/

uWSGI Web Server  /  Gunicorn Web Server  /  Using Multiple Workers  /  Embedded Server  /  Using nginx as a WebSocket Reverse Proxy

2、flask数据交互

https://blog.csdn.net/yelena_11/article/details/53404892

shell

https://www.cnblogs.com/v5captain/p/6347291.html

3、使用flask来做一个小应用

http://www.92ez.com/?action=show&id=23423

4、TensorFlow+python Flask进行手写识别

https://blog.csdn.net/qq_32447301/article/details/80601934

5、tensorflow前端框架

https://js.tensorflow.org/

6、当没有指定名称空间时,将使用名称为“/”的默认全局名称空间。

对于装饰器语法不方便的情况,可以使用on_event方法:

def my_function_handler(data):
      pass

socketio.on_event('my event', my_function_handler, namespace='/test')

请注意send()和emit()分别用于未命名事件和已命名事件。

使用名称空间时,默认情况下,send()和emit()使用传入消息的名称空间。 可以使用可选的命名空间参数来指定不同的命名空间:

7、flask-login-example

https://github.com/shekhargulati/flask-login-example

8、flask短信三方认证

https://www.cnblogs.com/sellsa/p/9498745.html

9、文件上传下载

https://sonnguyen.ws/first-ai-application/

https://www.cnblogs.com/mosson/p/6163233.html

原文地址:https://www.cnblogs.com/dong1/p/9656978.html