2008年9月7日
摘要: 转载自:http://www.xwy2.com/article.asp?id=124 Python 的异常处理机制和 C# 类似。 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->>>>>>> try: raise Except... 阅读全文
posted @ 2008-09-07 09:55 sislcb 阅读(34376) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://www.xwy2.com/article.asp?id=121 if...elif...else CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->>>>>>> def test(i): if 0>>>>> ... 阅读全文
posted @ 2008-09-07 09:53 sislcb 阅读(636) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://www.xwy2.com/article.asp?id=120 Python 的 Module 更像 Object Pascal Unit,和 C# namespace 那种纯粹作为编译器名称识别符不同,Module 本身就是一种类型。 CodeCode highlighting produced by Actipro CodeHighlighter (freewa... 阅读全文
posted @ 2008-09-07 09:50 sislcb 阅读(2515) 评论(0) 推荐(0) 编辑