![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
QQ2472322319
这个作者很懒,什么都没留下…
展开
-
TypeError: 'str' object is not callable
str已经被定义过一次原创 2013-05-19 20:55:39 · 1570 阅读 · 0 评论 -
windows 环境安装 MySQL-python 遇到错误 serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, options['regi
打开setup_windows.py修改mysql目录#serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, options['registry_key'])#mysql_root, dummy = _winreg.QueryValueEx(serverKey,'Location') mysql_root = r'D:/mysq原创 2013-05-09 14:32:10 · 2320 阅读 · 0 评论 -
python urllib webbrowser HTTPError: HTTP Error 403: Forbidden
import urllibimport urllib2import webbrowserurl = "http://blog.csdn.net/qq2472322319/article/details/8722187"headers = {'User-Agent':'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.6) G原创 2013-05-09 18:53:23 · 1688 阅读 · 0 评论 -
python Django
安装Django(python setup.py install)python manage.py runserver服务运行。。。。配置Django• Creating a project • The development server • Database setup • Creating models • Activating model原创 2013-05-11 20:46:57 · 2960 阅读 · 0 评论 -
python OpenCv 人脸检测
import cv2.cv as cvimport cv2from cv2 import VideoCapturecv.NamedWindow("W1", cv.CV_WINDOW_AUTOSIZE)#找到设备对象capture = cv.CaptureFromCAM(0)#检测人脸函数def repeat(): #每次从摄像头获取一张图片 frame =原创 2013-06-18 21:45:10 · 1704 阅读 · 0 评论 -
python OpenCv 2.4.5环境搭建
Download Python, Numpy, OpenCV from their official sites.Extract OpenCV (will be extracted to a folder opencv)Copy ..\opencv\build\python\x86\2.7\cv2.pydPaste it in C:\Python27\Lib\s原创 2013-06-18 20:07:56 · 1477 阅读 · 0 评论