![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
恒DCanon
这个作者很懒,什么都没留下…
展开
-
Python使用django开发需要使用的包大全
下载地址: setuptools-1.3.win-amd64-py2.7.exe adodbapi-2.6.0.7.zip Django-1.4.22.tar.gz django-ajax-forms-django-ajax-forms-0.1.1.zip django-ajax-selects-1.4.1.tar.gz django-appconf-1.0.1.tar.gz d原创 2015-12-29 10:02:34 · 1490 阅读 · 0 评论 -
python在子线程中使用WMI报错-2147221020-moniker,i,bindCTX=pythoncom.MKParseDisplayName(Pathname)
我在一个python脚本中用到了WMI,用于确保杀死超时却未能自己结束的进程 (已经先尝试了Ctrl+Break中止)。 测试代码运行正常,但当我把这个函数放在子线程中使用时,却发现报错: python在子线程中使用WMI报错-2147221020-moniker,i,bindCTX=pythoncom.MKParseDisplayName(Pathname) 解决方法: 后来在网原创 2015-12-29 17:49:23 · 984 阅读 · 0 评论 -
Django - “no module named django.core.management”
1.当在VS 2012中启动django项目时,在命令行中提示如下的错误: 2.解决方法: (1)确保django已经安装成功。在Python shell命令行中如下输入: 若出现上面的内容,说明django安装成功。 (2)将manage.py中,第一行中的 换成 (3)在环境变量的path中添加django的安装目录; 如下: E:\installfile\Django原创 2015-12-18 10:51:37 · 798 阅读 · 0 评论 -
Apache2.4在 win64 配置
1.下载apache 2.4版本。 下载地址:http://download.csdn.net/detail/guoheng123456/9360323 2.解压至任意目录下后,打开conf文件夹,编辑httpd.conf,如下: 绿色部分改成自己解压目录,添加黄色部分,即可: # # This is the main Apache HTTP server configuratio原创 2015-12-16 14:37:34 · 480 阅读 · 0 评论 -
如何在Microsoft Visual studio Ultimate 2012中安装配置Python 2.7和Diango1.5.1,并新建第一个网站
1.下载Python。 下载地址:https://www.python.org/downloads/windows/ 我的电脑是Windows 7 64位的操作系统,所以下载的是python-2.7.10.msi,下载步骤如下图: 2.安装Python 2.7. 安装步骤如下图: 下载好了python安装包后双击python安装包,选择instal原创 2015-12-15 10:04:41 · 1387 阅读 · 0 评论