码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
Centos下安装Scrapy
Scrapy是一个开源的机遇twisted框架的python的单机爬虫,该爬虫实际上包含大多数网页抓取的工具包,用于爬虫下载端以及抽取端。安装环境:centos5.4python2.7.3安装步骤:1.下载python2.7http://www.python.org/ftp/python/2.7.3...
分类:其他好文   时间:2014-09-07 18:24:45    阅读次数:317
Python之道(三)之字典
在很多语言中都有映射这种结构,而字典是Python中唯一内建的映射类型。 下面来看一个字典的例子: phonebook = {'Alice':'2341', 'Beth':'9102', 'Cecil':'3258'} 名字是键,号码是值,二者之间用冒号隔开,字典中键是唯一的,值并不唯一。空字典由两个大括号组成:{}。再介绍几个常用的字典操作: len(d) 返回d中键值对的数目d...
分类:编程语言   时间:2014-09-07 17:21:45    阅读次数:195
Learn Python From 'Head First Python' [0] : Install
Python install
分类:编程语言   时间:2014-09-07 17:12:25    阅读次数:138
指定Python线程数目
指定Python线程数目
分类:编程语言   时间:2014-09-07 17:09:25    阅读次数:219
使用python获得activemq信息(通过http://server:8161/
1 # encoding=utf-8 2 import urllib2 3 import cookielib 4 # from BeautifulSoup import BeautifulSoup 5 from bs4 import BeautifulSoup 6 import re 7 queu....
分类:编程语言   时间:2014-09-07 17:09:05    阅读次数:335
Python安装模块出错(No module named setuptools)解决方法
Python第三方模块中一般会自带setup.py文件,在Windows环境下,我们只需要在命令行中使用以下命令即可自动化安装python setup.py install安装的过程中有可能会出现“ImportError: No module named setuptools”的错误提示,这是因为W...
分类:编程语言   时间:2014-09-07 17:07:15    阅读次数:203
leetcode 之 Substring with Concatenation of All Words
Substring with Concatenation of All Words...
分类:其他好文   时间:2014-09-07 14:49:15    阅读次数:166
Python框架之Django学习笔记(八)
模板继承 到目前为止,我们的模板范例都只是些零星的 HTML 片段,但在实际应用中,你将用 Django 模板系统来创建整个 HTML 页面。 这就带来一个常见的 Web 开发问题: 在整个网站中,如何减少共用页面区域(比如站点导航)所引起的重复和冗余代码? 解决该问题的传统做法是使用服务器端的.....
分类:编程语言   时间:2014-09-07 14:42:15    阅读次数:209
3Sum
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of ...
分类:其他好文   时间:2014-09-07 14:40:25    阅读次数:188
跟着鬼哥学PyQtPart.2
使用Python创建button,实现对apk的反编译效果...
分类:其他好文   时间:2014-09-07 13:34:25    阅读次数:213
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!