Introduction: My code runtime environment is PyCharm 2017.1 64-bit versions
Flask Description:
Flask also known as "microframework", because it uses simple core, increase other functions extension. Flask no database used by default, form validation tool. However, Flask retained the amplification of flexibility with Flask-extension can be added to these features: ORM, form validation tools, file upload, a variety of open authentication technology
Features:
Development comes with server and debugger
Test integrated unit (unit testing)
RESTful request dispatching
Use Jinja2 (English: Jinja (template engine)) template engine
支持 secure cookies (client side sessions)
100% WSGI 1.0 Compatible
Unicode based
Detailed documentation, teaching
Google App Engine compatible
Extensions can be used to add other features
The first program to create a Flask
1. We open PyCharm software, click Create a new project, click Flask, choose the path where to store the project location after yesterday, we need to configure the path to a good virtual environments add Interpreter inside .
2 . Interpreter's path to save the file must be used with the virtual environment inside the folder, and find the python can be determined, otherwise, the path is not added successfully! ! ! !
3. Click Create we found inside have written sample code, we click Compile button to run it, open the local address, you can see our first Flask program has run up.
最后,如果我写的文章真的帮了大家的一个小忙,请不要吝啬给点个赞,如果想同我一起学习进步的话,可以关注我一下,本人QQ:2992789432.