连击 天
fork: star:
对Django这个 框架 感 兴趣 好久了,却一直懒于 研究 学习 ,现在跟随官网的 教程 跑一遍,学学Django同时也 继续 学学 Python 。 在开始之前, 我们 先把Python和Django这个框架安装好。 官...
Scrapy是一款非常成熟的爬虫框架,可以抓取网页数据并抽取结构化数据,目前已经有很多企业用于生产环境。对于它的更多介绍,可以查阅相关资料(官方网站:www.scrapy.org)。 我们根据官网提...
先前已经有一篇关于Scrapy的介绍了(Scrapy的架构),今天这篇文章是将怎么在Windows上安装Scrapy。 在安装Scrapy前首先需要确定的是已经安装好了Python(目前Scrapy支持Python2.5,Python2...
1、将文件checkout到本地目录 svn checkout path(path是服务器上的目录) 例如:svn checkout svn: // 192.168 . 1.1 / pro / domain 简写:svn co 2、往版本库中添加新的文件 svn add file...
压缩文件夹 tar -czvf xxx.tar.gz /xxx/xxx/xxx/ 查看tar.gz文件中的内容 zcat xxx.tar.gz 查看tar.gz包内的文件信息命令 tar -ztvf your_file.tar.gz 查看包中包含的文件 tar -tvf...
---- 我们一般使用“date -s”命令来修改 系统 时间。比如将 系统 时间设定成1996年6月10日的命令如下。 #date -s 06/10/96 将 系统 时间设定成下午1点12分0秒的命令如下。 #date -s 13:12:0...
xml文件 <website> <page name="index" title="Home Page"> <h1>Welcome to My Home Page</h1> <p>Hi,there My name is Mr. Gumby, and this is my home page. here are some of my i...
用python实现API django-piston之前用的人很多,现在更新不是很频繁,不推荐。 django-tastypie最近很火,值得关注。 我个人推荐djangorestframework。它使用了class based view,扩展起来很...
Ensure you have the necessary dependecies (php, php-pear, php-devel, gcc, make): $ sudo yum install gcc make $ sudo yum install php php-pear php-devel Use PECL (PHP Extension Co...
php 5.3.3 源码中已经内嵌了 php-fpm,不用象以前的php版本一样专门打补丁了,只需要在configure的时候添加编译参数即可。 关于php-fpm的编译参数有 –enable-fpm –with-fpm-user=www –wit...
太阳黑子(python2.7.2) #!/usr/bin/env python from urllib import urlopen from reportlab.graphics.shapes import * from reportlab.graphics.charts.lineplots import LinePlot from r...
ui页面代码 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Ingrid. the jQuery D...
6款jQuery图表插件 http://paranimage.com/6-jquery-charts-plugins/ jQuery 表格插件汇总 http://www.cnblogs.com/gaoweipeng/archive/2010/04/17/1714458.html...
Ubuntu 11.04 调节屏幕亮度 ubuntu(11.04)的 Power Management调节设置(对于某些安装 ubuntu(11.04) 后不起作用的) 设置如下: sudo gedit /etc/X11/xorg.conf 然后在Section "Device" 段中...
centos5.4下yum安装svn [test@localhost /]# yum -y install subversion --prefix=/opt/svn cd /opt mkdir svndata //创建一个SVN根目录 chmod -R 777 svndata //给SVN根目录权限 启SVN服务,...
太阳黑子图形程序 from reportlab.lib import colors from reportlab.graphics.shapes import * from reportlab.graphics import renderPDF data=[ # Year Month Predicted Hign Low (2007...
以前弄过一个很方便的一次性安装好mysql以及数据文件配置和python的MySQLdb库的脚本,今天在自己的ubuntu11.10下面用这个安装的时候发现一直报错,昨晚弄了一个晚上,想了想估计是redhat和u...
没有更多内容
加载失败,请刷新页面
文章删除后无法恢复,确定删除此文章吗?
动弹删除后,数据将无法恢复
评论删除后,数据将无法恢复