2014年12月27日

notepad++ 设置运行python脚本

摘要: 按F5在输入框中输入:cmd /k python “$(FULL_CURRENT_PATH)” &PAUSE & EXITpython路径必须在环境变量中。 否则需要输入完整的python路径。点击保存, 随便设置一个名字, 然后选择组合快捷键,点击运行即可。以后运行直接使用快捷键就可以了。 阅读全文

posted @ 2014-12-27 22:58 码农果果 阅读(229) 评论(0) 推荐(0) 编辑

2014年12月4日

使用gunicorn部署python web

摘要: gunicorn 是一款支持wsgi的web服务器, 支持gevent首先安装setuptools. wgethttps://bootstrap.pypa.io/ez_setup.py$python ez_setup.py$easy_install pip$pip install gevent$pi... 阅读全文

posted @ 2014-12-04 23:37 码农果果 阅读(671) 评论(0) 推荐(0) 编辑

2014年11月11日

mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory

摘要: 安装mysql-python之前, 请先安装setuptools.https://pypi.python.org/pypi/setuptools/7.0下载mysql-python. 下载源码包. https://pypi.python.org/pypi/MySQL-python/1.2.5解压后执... 阅读全文

posted @ 2014-11-11 14:38 码农果果 阅读(13785) 评论(1) 推荐(1) 编辑

导航