利用Python Flask構建Web網站

jieforest發表於2012-10-13
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部落格 ” ,連結:http://blog.itpub.net/301743/viewspace-746339/,如需轉載,請註明出處,否則將追究法律責任。

相關文章