For some times now, I have been doing some projects in Python and some were web applications. Flask is a small framework to do exactly that and I have found it perfect for the job. It’s really easy to use, fast, has good documentation and a good community.
This is the first post in a series dedicated to building websites with Python and more notably Flask. In this post, I will talk about setting up Flask with a database, using configuration environments, managing assets and deploying the app to production.
First steps with Flask
I use pip to install Python modules and I would strongly recommend it (as well as using virtualenv).Installing Flask is as easy as:
CODE:
pip install Flask
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/301743/viewspace-746339/
,如需转载,请注明出处,否则将追究法律责任。