- 博客(9)
- 资源 (7)
- 收藏
- 关注
原创 2017IIS+python+flask环境搭建
尝试python+flask开发网页,碰到服务器是IIS,网上查询各类资料就是不成功,在bing上翻阅,于是就是以上几篇转载,也测试成功!总结如下: 1、IIS的CGI要选择, 2、安装python2.7,并将安装路径添加到环境变量path 3、添加WFASTCGI pip install wfastcgi 4、激活 wfastcgi ...
2017-11-16 11:44:32 7308 3
原创 FLASK (CURRENCY)汇率换算api JSON数据读取显示实现
def get_rate(frm, to): CURRENCY_URL=”https://api.fixer.io/2017-11-03” all_currency = urllib2.urlopen(CURRENCY_URL).read() parsed = json.loads(all_currency).get(‘rates’) frm_rate
2017-11-19 20:02:13 795
原创 flask天气预报json数据的读取
def get_weather(query1): api_url = "http://www.sojson.com/open/api/weather/json.shtml?city={}" # GBK的url编码 将空格等转换 #query1 = urllib.quote(query1) # url = api_url.format() +unicode(query
2017-11-19 19:44:50 542
转载 flask-on-iis
The major document I read was wfastcgi on pypi: https://pypi.python.org/pypi/wfastcgi I also googled with these key words "python flask iis" https://azure.microsoft.com/en-us/documentation/artic
2017-11-15 21:55:34 384
转载 Publish Flask on IIS
Hello, today i gonna show How to publish Flask To IIS . OK now let start: make sure you installed Internet Information Service from your window. if you are not ready for install it you can try by th
2017-11-15 21:12:56 255
转载 FLASK ON IIS
http://netdot.co/2015/03/09/flask-on-iis/ While Windows Server is usually not my preferred OS for deploying Python based web[sites|services] sometimes the situation dictates it. For situations wh
2017-11-15 20:49:30 413
转载 How do I deploy a Flask application in IIS?
https://stackoverflow.com/questions/5072166/how-do-i-deploy-a-flask-application-in-iis Setup Steps Step 1: Install Required Binaries Install Python (2.7 or 3.x -- I used 3.3) Install pip
2017-11-15 20:38:40 387
原创 git 上传远程文件,以及建立分支,再返回到主文档
将更新的文件传至github git add headlines.py git add templates/home.html git commit -m "Using GET" git push origin master 建立其他分支 git branch post-requests git checkout post-requests
2017-11-12 20:18:37 179
转载 python 解决中文乱码问题('ascii' codec can't encode characters in )
有2种方法设置python的默认编码: 一个解决的方案在程序中加入以下代码: Python代码 import sys reload(sys) sys.setdefaultencoding('utf8') 另一个方案是在python的Lib\site-packages文件夹下新建一个sitecustomize.py,内容为: Python代码
2017-11-11 22:32:47 1430
Access2003wqzn.rarAccess2003wqzn.rarAccess2003wqzn.rar
2009-08-22
mapinfo222mapinfo222
2009-07-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人