1.新建一个Django项目:django-admin startproject project-nameordjango-admin.py startproject project-name2.新建项目木下的一个子app:(是到生成的项目文件夹下)python manage.py startapp... Read More
posted @ 2015-10-20 23:46 超超xc Views(565) Comments(0) Diggs(0) Edit
如题报如下错误:(环境为CentOS7)In file included from greenlet.c:5:0:greenlet.h:8:20: fatal error: Python.h: No such file or directory #include ... Read More
posted @ 2015-10-20 19:15 超超xc Views(903) Comments(0) Diggs(0) Edit
Centos大多数情况下是用来做服务器的,但是由于各种原因我现在要用Centos做开发机,所以当然要安装开发神奇Sublime textle.注意:安装目录因人而异,我的安装目录是/opt/sublime_text_3.一、建立软件安装目录(我一般把软件安装在opt目录下)# mkdir /opt#... Read More
posted @ 2015-10-20 17:51 超超xc Views(739) Comments(0) Diggs(0) Edit
# (1)、将111.206.217.0/24、218.75.110.0/24两个网段IP地址插入proxy.nmap_ip表中,type字段按照个人序号插入。def readIpByAddr(): ip_list= [] for i in range(255): i = ... Read More
posted @ 2015-10-20 12:43 超超xc Views(1287) Comments(0) Diggs(0) Edit
#!/usr/bin/python#coding:utf-8from pyquery import PyQueryimport re# 抓取:http://www.stylebop.com/cn/product_details.php?id=606526&special=sale# 获得 产品名... Read More
posted @ 2015-10-20 12:07 超超xc Views(512) Comments(0) Diggs(0) Edit
I suppose,were childrenonec.