2014年1月22日

摘要: 先写上代码,有代码才好理解:#filename:classdemo.pyclass test: '''just person''' a=1 b=2 c=0 def __init__(self): '''just person's init''' test.c=test.c+1 def aadnb(self): return self.a+self.b def __del__(self): test.c=test.c-1 p=test()print test.cp.a=5p.b=7p1=tes 阅读全文
posted @ 2014-01-22 10:39 Sprite 阅读(806) 评论(1) 推荐(0)
摘要: 安装了太多版本的linux,最后还是决定安装CentOS的minimal版本:安装的时候发现,没办法自定义分区,经查确实在命令行界面下安装是没有自定义分区的。但是不管怎么安装都是没有图形介面,最后终于找到了原因,原来是内存不足,我一直用的是vmplayer,512的内存,安装了好多版本都是莫名的不显示图型介面,哎。。。内存改到1024就正常了。 阅读全文
posted @ 2014-01-22 02:07 Sprite 阅读(319) 评论(0) 推荐(0)

导航