在好例子网,分享、交流、成长!
您当前所在位置:首页Python 开发实例Python语言基础 → PYTHON中文参考

PYTHON中文参考

Python语言基础

下载此实例
  • 开发语言:Python
  • 实例大小:0.33M
  • 下载次数:22
  • 浏览次数:122
  • 发布时间:2021-08-09
  • 实例类别:Python语言基础
  • 发 布 人:Mounting_Zhao
  • 文件格式:.CHM
  • 所需积分:2
 相关标签: python py 参考 中文

实例介绍

【实例简介】

【实例截图】

from clipboard

【核心代码】

前言 Front Matter 
目录 
1. 简介 Introduction 
1.1 记法 Notation 
2. 词法分析 Lexical analysis 
2.1 行结构 Line structure 
2.1.1 逻辑行 Logical lines 
2.1.2 物理行 Physical lines 
2.1.3 注释 Comments 
2.1.4 Encoding declarations 
2.1.5 显式行连接 Explicit line joining 
2.1.6 隐式行连接 Implicit line joining 
2.1.7 空行 Blank lines 
2.1.8 缩进 Indentation 
2.1.9 符号间的空白 Whitespace between tokens 
2.2 其它语言符号 Other tokens 
2.3 标识符和关键字 Identifiers and keywords 
2.3.1 关键字 Keywords 
2.3.2 保留的标识符类型 Reserved classes of identifiers 
2.4 字面值 Literals 
2.4.1 串字面值 String literals 
2.4.2 串字面值的连接 String literal concatenation 
2.4.3 数值型的字面值 Numeric literals 
2.4.4 整数和长整数型的字面值 Integer and long integer literals 
2.4.5 浮点型的字面值 Floating point literals 
2.4.6 虚数的字面值 Imaginary literals 
2.5 运算符 Operators 
2.6 分隔符 Delimiters 
3. !!数据模型 Data model 
3.1 对象, 值和类型 Objects, values and types 
3.2 标准类型层次 The standard type hierarchy 
3.3 特殊方法名 Special method names 
3.3.1 基本定制 Basic customization 
3.3.2 定制属性访问 Customizing attribute access 
3.3.3 Customizing class creation 
3.3.4 模拟可调用对象 Emulating callable objects 
3.3.5 模拟包容器类型 Emulating container types 
3.3.6 模拟有序类型的其它方法 Additional methods for emulation of sequence types 
3.3.7 模拟数值类型 Emulating numeric types 
3.3.8 强制规则: Coercion rules 
4. 运行模型 Execution model 
4.1 !!! 代码块, 运行结构框架和命名空间 Naming and binding 
4.1.1 Interaction with dynamic features 
4.2 异常 Exceptions 
5. 表达式 Expressions 
5.1 数值型间的转换 Arithmetic conversions 
5.2 原子 Atoms 
5.2.1 标识符(名字) Identifiers (Names) 
5.2.2 字面值 Literals 
5.2.3 括号表达式 Parenthesized forms 
5.2.4 列表的表示 List displays 
5.2.5 字典的表示 Dictionary displays 
5.2.6 串的转换 String conversions 
5.3 基元 Primaries 
5.3.1 属性引用 Attribute references 
5.3.2 下标 Subscriptions 
5.3.3 片断 Slicings 
5.3.4 调用 Calls 
5.4 幂运算符 The power operator 
5.5 一元算术运算符 Unary arithmetic operations 
5.6 二元算术运算符 Binary arithmetic operations 
5.7 移位运算符 Shifting operations 
5.8 二元位运算符 Binary bit-wise operations 
5.9 比较 Comparisons 
5.10 布尔运算 Boolean operations 
5.11 Lambda形式(lambda表达式) Lambdas 
5.12 表达式表 Expression lists 
5.13 Evaluation order 
5.14 总结 Summary 
6. 简单语句 Simple statements 
6.1 表达式语句 Expression statements 
6.2 断言语句 Assert statements 
6.3 赋值语句 Assignment statements 
6.3.1 增量赋值语句 Augmented assignment statements 
6.4 pass语句 The pass statement 
6.5 del 语句 The del statement 
6.6 print语句 The print statement 
6.7 return语句 The return statement 
6.8 yield语句 The yield statement 
6.9 raise语句 The raise statement 
6.10 break语句 The break statement 
6.11 continue语句 The continue statement 
6.12 import 语句 The import statement 
6.12.1 Future statements 
6.13 global语句 The global statement 
6.14 exec 语句 The exec statement 
7. 复合语句 Compound statements 
7.1 if 语句 The if statement 
7.2 while语句 The while statement 
7.3 for语句 The for statement 
7.4 try语句 The try statement 
7.5 函数定义 Function definitions 
7.6 类定义 Class definitions 
8. 顶层构件 Top-level components 
8.1 完整的Python程序 Complete Python programs 
8.2 文件输入 File input 
8.3 交互式输入 Interactive input 
8.4 表达式输入 Expression input 
A. History and License 
A.1 History of the software 
A.2 Terms and conditions for accessing or otherwise using Python 
B. 修正记录 
C. 翻译团队 

标签: python py 参考 中文

实例下载地址

PYTHON中文参考

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警