自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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

Photoshop网页设计艺术

Photoshop网页设计艺术,设计网页必须要看的书籍

2012-04-05

Access2003wqzn.rarAccess2003wqzn.rarAccess2003wqzn.rar

Access2003wqzn.rarAccess2003wqzn.rar

2009-08-22

mapinfo222mapinfo222

mapinfo电子教材mapinfo电子教材mapinfo电子教材mapinfo电子教材mapinfo电子教材mapinfo电子教材mapinfo电子教材mapinfo电子教材

2009-07-28

电脑维修专业技能培训教程

电脑维修专业技能培训教程电脑维修专业技能培训教程电脑维修专业技能培训教程

2009-07-28

Delphi模式编程

Delphi模式编程 提供了各种编程的模式,以及这些模式的范例,为你的编程提供参考

2009-02-11

Programming ruby-2nd

Programming ruby-2nd

2007-06-15

1Agile_Web_Development_With_Rails-Beta

1Agile_Web_Development_With_Rails-Beta

2007-05-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除