随笔分类 -  python

摘要:按照教程使用wsgi来进行配置。但是出现了很多问题,主要关于 .wsgi 文件内的path = '/home/phoenix/django/expr/expr'if path not in sys.path: sys.path.append(path)#sys.path.append('/ho... 阅读全文
posted @ 2014-12-13 00:44 曾有人 阅读(374) 评论(0) 推荐(0)
摘要:特别鸣谢阮思绮同学!虽然感觉这个冷冷的博客也没人看23333import mysql.connectorimport sys, osimport urllib.requestimport reimport itertoolsuser = 'root'pwd = ''host = '127.0.0.... 阅读全文
posted @ 2014-08-18 10:36 曾有人 阅读(669) 评论(0) 推荐(0)
摘要:import urllib.requestimport restarturl="http://wooyun.org/searchbug.php?q=%E9%87%91%E8%9E%8D"def get_html_response(url): html_response = urllib.req... 阅读全文
posted @ 2014-08-05 21:03 曾有人 阅读(521) 评论(0) 推荐(1)
摘要:转自http://www.voidspace.org.uk/python/articles/authentication.shtml先转来,由于是python2的版本之后会翻译文章以及移植到python3IntroductionThis tutorial aims to explain and il... 阅读全文
posted @ 2014-07-21 15:22 曾有人 阅读(2073) 评论(0) 推荐(0)