lang.Python
文章平均质量分 80
Lbeta
这个作者很懒,什么都没留下…
展开
-
The Python Tutorial 3.2-2使用Python解释器
2. Using the Python Interpreter(使用Python解释器)2.1. Invoking the Interpreter(调用解释器)The Python interpreter is usually installed as /usr/local/bin/python3.2 on those machines where it is available; p翻译 2012-02-10 13:31:45 · 1227 阅读 · 0 评论 -
The Python Tutorial 3.2-1Whetting Your Appetite(开胃菜)
1. Whetting Your Appetite(开胃菜)If you do much work on computers, eventually you find that there’s some task you’d like to automate. For example, you may wish to perform a search-and-replace over a翻译 2012-02-10 10:56:28 · 524 阅读 · 0 评论 -
The Python Tutorial 3.2-3 An Informal Introduction to Python(Python简介)
3. An Informal Introduction to Python(Python简介)In the following examples, input and output are distinguished by the presence or absence of prompts (>>> and ...): to repeat the example, you must ty翻译 2012-02-13 12:57:34 · 1234 阅读 · 0 评论 -
The Python Tutorial 3.2-6Modules(模块)
6. Modules(模块)If you quit from the Python interpreter and enter it again, the definitions you have made (functions and variables) are lost. Therefore, if you want to write a somewhat longer progra翻译 2012-02-17 16:32:37 · 879 阅读 · 0 评论 -
The Python Tutorial 3.2 - 8Errors and Exceptions(错误和异常)
8. Errors and Exceptions错误和异常Until now error messages haven’t been more than mentioned, but if you have tried out the examples you have probably seen some. There are (at least) two distinguishable翻译 2012-03-10 01:53:21 · 866 阅读 · 0 评论 -
The Python Tutorial 3.2-4 More Control Flow Tools(深入控制流)
4. More Control Flow Tools(深入控制流)Besides the while statement just introduced, Python knows the usual control flow statements known from other languages, with some twists.除了上一节介绍的 while 循环语句外,Pyt翻译 2012-03-11 00:34:37 · 1166 阅读 · 0 评论