ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 利用Python Flask构建Web网站

利用Python Flask构建Web网站

原创 Linux操作系统 作者:jieforest 时间:2012-10-13 10:02:16 0 删除 编辑
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/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: Apache Lucene 4发布
请登录后发表评论 登录
全部评论

注册时间:2008-04-23

  • 博文量
    441
  • 访问量
    602344