摘要:
python: 查看内存地址。1 a=12 print a3 #输出物理内存地址 4 print id(a) 5 #输出物理内存地址(十六进制)6 print hex(id(a))View Code内存基础(C语言):一个程序就是一个进程。堆、栈、全局/静态存储区和常量存储区。什么是常量,全局变量,... 阅读全文
posted @ 2014-06-28 21:36
UCanBeFree
阅读(186)
评论(0)
推荐(0)
摘要:
#!/usr/bin/env pythonimport wxclass MainWindow(wx.Frame): def __init__(self, parent, title): wx.Frame.__init__(self, parent, title=title, si... 阅读全文
posted @ 2014-06-28 18:40
UCanBeFree
阅读(187)
评论(0)
推荐(0)
摘要:
最简单的迭代器: 1 a=$i*3;20 $a->b=$i*4;21 $a->c=$i*5;22 $this->_items[]=$a;23 }24 }25 26 27 28 // ... 阅读全文
posted @ 2014-06-28 11:47
UCanBeFree
阅读(111)
评论(0)
推荐(0)

浙公网安备 33010602011771号