随笔分类 - Python
摘要:python对象三要素: identity(值):对应于内存的地址,不可修改 type(类型):不可修改 value(值): mutable :可以修改 immutable:不可以修改 引用计数 当引用计数为0的时候,GC才会真正去回收补分配的内存 >>> def f(): ... pass ... >>> id(f) 139655884671288 >>> fa=f ...
阅读全文
摘要:http://www.freebuf.com/author/villanch
阅读全文
摘要:http://www.freebuf.com/sectool/103374.html
阅读全文
摘要:http://www.cnblogs.com/pharen/archive/2012/02/08/2343342.htmlMyEclipse安装插件的几种方法 本文讲解MyEclipse(MyEclipse10)的三种方法,以SVN为例 Eclipse update site URL: http://subclipse.tigris.org/update_1.8.x 下载地址:...
阅读全文
摘要:http://www.cnblogs.com/Bonker/p/3584707.html 编辑器: Eclipse + pydev插件 1. Eclipse是写JAVA的IDE, 这样就可以通用了,学习代价小。 学会了Eclipse, 以后写Python或者JAVA 都可以。 2. Eclipse,
阅读全文
摘要:https://github.com/PyCon
阅读全文
摘要:http://blog.csdn.net/chenggong2dm/article/details/43937433 http://blog.csdn.net/orangleliu/article/details/47080999 http://www.nowamagic.net/academy/d
阅读全文
摘要:VS C++项目中,选择工程项名称,右菜单中选择 >仅适用于项目 >仅生成(项目) 1.make_buildinfo,make_versioninfo make_buildinfo.exe make_versioninfo_d.exe 2.pythoncore python25_d.lib pyth
阅读全文
摘要:http://blog.csdn.net/balabalamerobert http://blog.csdn.net/efeics/article/category/1486515 图解python https://github.com/thieman/dagobah 可视化任务调度 Cobrago
阅读全文
摘要:http://blog.csdn.net/balabalamerobert/article/details/2683029#comments http://blog.csdn.net/zhengsenlie/article/details/30511257 http://www.cnblogs.co
阅读全文
摘要:http://www.jianshu.com/users/4d4a2f26740b/latest_articles http://blog.csdn.net/ssjhust123/article/category/3202957 http://tech.uc.cn/?p=1932 [root@mon
阅读全文
摘要:http://www.wklken.me/posts/2015/09/29/python-source-gc.html http://www.wklken.me/archives.html https://github.com/wklken/stackoverflow-py-top-qa
阅读全文
摘要:Exploring Python Code Objects https://late.am/post/2012/03/26/exploring-python-code-objects.html Inspired by David Beazley's Keynote at PyCon, I've be
阅读全文
摘要:JUNE 28TH, 2014Tweet This article describes how Python string interning works in CPython 2.7.7. A few days ago, I had to explain to a colleague what t
阅读全文
摘要:Why Python is Slow: Looking Under the Hood https://jakevdp.github.io/blog/2014/05/09/why-python-is-slow/ MAY 09, 2014 We've all heard it before: Pytho
阅读全文
摘要:http://www.laurentluce.com/posts/python-integer-objects-implementation/ Python integer objects implementation May 15, 2011 This article describes how
阅读全文
摘要:Python dictionary implementation http://www.laurentluce.com/posts/python-dictionary-implementation/ August 29, 2011 This post describes how dictionari
阅读全文
摘要:http://www.laurentluce.com/posts/python-string-objects-implementation/ Python string objects implementation June 19, 2011 This article describes how s
阅读全文
摘要:对象(Objects)是python中数据的抽象,python中所有的数据均可以用对象或者是对象之间的关系来表示。每个对象均有标识符(identity)、类型(type)、值(value)。 标识符。对象一旦创建,那么它的标识符就不会改变,可以把标识符看作对象在内存中的地址。is 操作可以用来比较两
阅读全文
摘要:http://my.oschina.net/leejun2005/blog/145911 http://www.cnblogs.com/lulipro/p/5060163.html http://www.cnblogs.com/restran/category/331095.html
阅读全文