8ErrorsandExceptions错误和异常
8.1SyntaxErrors语法错误..........
8.2Exceptions................
8.3HandlingExceptions控制异常.......
8.4RaisingExceptions抛出异常........
8.5User-definedExceptions用户自定义异常..
8.6DefiningClean-upActions定义清理行为..
8.7PredefinedClean-upActions预定义清理行为..........................................
.
.
.
.
.
.
.
.
.
.
.....................................................................................................................................................................................
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
...................................................................................................................77777778818283848787889094969899100101102103105105106106106106107107108108109109110111111112113114115115116117
1199Classes类9.1AWordAboutNamesandObjects关于命名和对象的内容.9.2PythonScopesandNamespacesPython作用域和命名空间9.3AFirstLookatClasses初识类...........9.4RandomRemarks一些说明...............9.5Inheritance继承..................9.6PrivateVariables私有变量.............9.7OddsandEnds补充.................9.8ExceptionsAreClassesToo异常也是类........9.9Iterators迭代器..................9.10Generators生成器..................9.11GeneratorExpressions生成器表达式.........10BriefTouroftheStandardLibrary标准库概览10.1OperatingSystemInterface操作系统接口.................10.2FileWildcards文件通配符........................10.3CommandLineArguments命令行参数....................10.4ErrorOutputRedirectionandProgramTermination错误输出重定向和程序终止10.5StringPatternMatching字符串正则匹配.................10.6Mathematics数学............................10.7InternetAccess互联网访问.......................10.8DatesandTimes日期和时间.......................10.9DataCompression数据压缩........................10.10PerformanceMeasurement性能度量....................10.11QualityControl质量控制........................10.12BatteriesIncluded电池已备.......................11BriefTouroftheStandardLibrary--PartII标准库概览II11.1OutputFormatting输出格式...............11.2Templating模板.....................11.3WorkingwithBinaryDataRecordLayouts使用二进制记录层11.4Multi-threading多线程.................11.5Logging日志......................11.6WeakReferences弱引用.................11.7ToolsforWorkingwithLists列表工具..........11.8DecimalFloatingPointArithmetic十进制浮点数算法...12WhatNow?接下来?
13InteractiveInputEditingandHistorySubstitution
13.1LineEditing行编辑.....................
13.2HistorySubstitution历史回溯................
13.3KeyBindings快捷键绑定...................
13.4AlternativestotheInteractiveInterpreter其它交互式解释器........................................................................................................121121122122124
12514FloatingPointArithmetic:IssuesandLimitations浮点数算法:争议和限制
Python Tutorial Release 2.7 March Liu<march.liu@gmail.com> October 26, 2010 CONTENTS 1 2 Whetting Your Appetite 开胃菜 Using the Python Interpreter ...
7. 输入和输出 — python tutorial 2_计算机软件及应用_IT/计算机_专业资料。python入门指南---713-10-21 7. 输入和输出 — python tutorial 2.7 ...
Python概要介绍 — python tutorial 2.7 documentation 3. Python概要介绍下面的例子中,输入和输出分别由大于号和句号提示符( >>> 和 ... )标注:如果想重现 ...
python的入门教程python的入门教程隐藏>> Python Tutorial Benjamin L. Zaitlen Biocomplexity Institute, Indiana University August 15, 2007 Outline 1 2 3 4 5...
Tutorial on Python Iterators and GeneratorsTutorial on Python Iterators and Generators隐藏>> Tutorial on Python Iterators and Generators Norman Matloff ...
Python 2.7入门指南(官方中文)_互联网_IT/计算机_专业资料。Python 入门指南 Release: 2.7 Date: January 17, 2013 Python 是一门简单易学且功能强大的编程...
Python Tutorial Release 2.4 Guido van Rossum Fred L. Drake, Jr., editor...可以找到可用的编码列表(根据个人经验,推荐使 用cp-936或utf-8处理中文--译者...
4. 深入流程控制 — python tutorial 2_生产/经营管理_经管营销_专业资料。python入门指南---413-10-21 4. 深入流程控制 — python tutorial 2.7 ...
模块 — python tutorial 2.7 documentation 6.1. 深入模块模块可以像函数定义一样包含执行语句。这些语句通常用于初始化模块。它们只在模块 第 一次 导入时执行...
Python Tutorial Python Release 2.5b2 \??H Guido van Rossum Fred L. Drake, Jr., editor 11th July, 2006 Python Software Foundation Email: docs@python....
热门文档