2010年11月15日
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#file'sname:obj_w_r.py#importcPickleaspkimportpickleaspkclassPerson:def__init__(self,name,age):self.name=nameself.age=agedefsayhi(self):print"Helloeveryone,mynameis",self.name,", 阅读全文
posted @ 2010-11-15 22:43 TroyZ 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#file'sname:using_file.pyinfo="""Mynameisnami,I'mfromHuBeiprovince,IlikeTVBtelevisionverymuch,butnowI'minCS"""filename="c:/nami.txt"#writeinfotof 阅读全文
posted @ 2010-11-15 22:41 TroyZ 阅读(225) 评论(0) 推荐(0) 编辑