Python是一种面向对象、直译式计算机程序设计语言。它的语法简捷和清晰,尽量使用无异义的英语单词,与其它大多数程序设计语言使用大括号不一样,它使用縮进来定义语句块。与Scheme、Ruby、Perl、Tcl等动态语言一样,Python具备垃圾回收功能,能够自动管理内存使用。它经常被当作脚本语言用于...
分类:
编程语言 时间:
2015-01-16 20:53:10
阅读次数:
207
Windows 下 Python easy_install 的安装下载安装python安装工具下载地址:http://pypi.python.org/pypi/setuptools 可以找到正确的版本进行下载。win7 32位可以下载setuptools-0.6...
分类:
编程语言 时间:
2015-01-16 18:27:23
阅读次数:
172
问题1:SyntaxError: Non-ASCII character '\xe5' in file E:\PythonDev\testmodule.py on line 21, but no encoding declared; see http://python.org/dev/pe...
分类:
编程语言 时间:
2015-01-16 15:58:16
阅读次数:
262
该模块提供对greenthread 池的支持。 greenthread 池提供了一定数量的备用greenthread ,有效限制了孵化greenthread 过多导致的内存不足,当池子中没有足够的空闲greenthread 时,孵化过程被暂停,只有当先前工作中的greenthread 完成当前...
分类:
编程语言 时间:
2015-01-15 23:23:44
阅读次数:
284
#-*-coding:utf-8-*-__author__='Administrator'importbisect#排序说明:http://en.wikipedia.org/wiki/insertion_sort#简化一些操作#1:删减外部调用,降低工作负载"""说明:程序复杂度的另一部分是调用其他...
分类:
编程语言 时间:
2015-01-15 21:52:48
阅读次数:
171
#-*-coding:utf-8-*-__author__='Administrator'importbisect#排序说明:http://en.wikipedia.org/wiki/insertion_sort#简化一些操作#1:删减外部调用,降低工作负载"""说明:程序复杂度的另一部分是调用其他...
分类:
编程语言 时间:
2015-01-15 21:44:46
阅读次数:
741
subprocess.Popen这个模块主要就提供一个类Popen:class subprocess.Popen( args, bufsize=0, executable=None, stdin=None, stdout=None, stder...
分类:
编程语言 时间:
2015-01-15 17:43:30
阅读次数:
186
Python的字典的items(), keys(), values()都返回一个list1 >>> dict = { 1 : 2, 'a' : 'b', 'hello' : 'world' } 2 >>> dict.values() 3 ['b', 2, 'world']...
分类:
编程语言 时间:
2015-01-15 17:25:09
阅读次数:
180
1、内置对象 数字 1234,3.1415, 3+4j, Decimal, Fraction 字符串 ‘spam', "guido's". 列表 [1, [2, 'three'], 4] 字典 {'food':'spam', 'taste':'yum'} 元组 (1, 's...
分类:
编程语言 时间:
2015-01-15 15:44:18
阅读次数:
193
地址:http://www.hejizhan.com/html/xueke/520/x520_03.html Python安装软件合集(Windows)(78) Python教程——游戏编程(13) Python教程——GUI编程(23) Python教程——科学计算与数据处理(17) Python...
分类:
编程语言 时间:
2015-01-15 10:36:52
阅读次数:
168