摘要: 安装环境:centos6.3python2.6使用easy_install安装方式:[root@localhost~]#easy_installflask简单的hellofromflaskimportFlaskapp=Flask(__name__)@app.route("/")defhello():return"HelloWorld!"if__name__=="__main__":app.run()运行:[root@localhostflask]#pythonhello.py*Runningonhttp://127.0.0.1:500 阅读全文
posted @ 2013-10-25 13:46 运维文件夹 阅读(1359) 评论(0) 推荐(0) 编辑