官网PYthon语言参考手册The Python Language Reference
This reference manual describes the syntax and “core semantics” of the language. It is terse, but attempts to be exact and complete. The semantics of non-essential built-in object types and of the built-in functions and modules are described in The Python Standard Library. For an informal introduction to the language, see The Python Tutorial. For C or C++ programmers, two additional manuals exist:Extending and Embedding the Python Interpreter describes the high-level picture of how to write a Python extension module, and thePython/C API Reference Manual describes the interfaces available to C/C++ programmers in detail.
- 1. Introduction
- 1.1. Alternate Implementations
- 1.2. Notation
- 2. Lexical analysis
- 2.1. Line structure
- 2.2. Other tokens
- 2.3. Identifiers and keywords
- 2.4. Literals
- 2.5. Operators
- 2.6. Delimiters
- 3. Data model
- 3.1. Objects, values and types
- 3.2. The standard type hierarchy
- 3.3. New-style and classic classes
- 3.4. Special method names
- 4. Execution model
- 4.1. Naming and binding
- 4.2. Exceptions
- 5. Expressions
- 5.1. Arithmetic conversions
- 5.2. Atoms
- 5.3. Primaries
- 5.4. The power operator
- 5.5. Unary arithmetic and bitwise operations
- 5.6. Binary arithmetic operations
- 5.7. Shifting operations
- 5.8. Binary bitwise operations
- 5.9. Comparisons
- 5.10. Boolean operations
- 5.11. Conditional Expressions
- 5.12. Lambdas
- 5.13. Expression lists
- 5.14. Evaluation order
- 5.15. Operator precedence
- 6. Simple statements
- 6.1. Expression statements
- 6.2. Assignment statements
- 6.3. The
assert
statement - 6.4. The
pass
statement - 6.5. The
del
statement - 6.6. The
print
statement - 6.7. The
return
statement - 6.8. The
yield
statement - 6.9. The
raise
statement - 6.10. The
break
statement - 6.11. The
continue
statement - 6.12. The
import
statement - 6.13. The
global
statement - 6.14. The
exec
statement
- 7. Compound statements
- 7.1. The
if
statement - 7.2. The
while
statement - 7.3. The
for
statement - 7.4. The
try
statement - 7.5. The
with
statement - 7.6. Function definitions
- 7.7. Class definitions
- 7.1. The
- 8. Top-level components
- 8.1. Complete Python programs
- 8.2. File input
- 8.3. Interactive input
- 8.4. Expression input
- 9. Full Grammar specification
官网PYthon语言参考手册The Python Language Reference相关推荐
- python - references 之 python语言参考手册目录
python 语言参考手册 官方文档link: https://docs.python.org/zh-cn/3/reference/index.html 目录 1. 概述 1.1. 其他实现 1.2. ...
- Python语言参考手册
Python语言参考手册 3 数据模型 3.3 特殊的方法名称 3.3.2 自定义属性获取 3 数据模型 3.3 特殊的方法名称 3.3.2 自定义属性获取 可以通过定义下列方法来自定义(使用.分配或 ...
- python语言教程-Python语言教程手册
Python语言教程手册 Python是什么? 解释性语言 多范式 介绍 命令后>>>python Python 2.7.3 (default, Aug 1 2012, 05:14: ...
- python官网的sdk下载详细步骤-Python SDK(beta)
Python SDK(beta) 更新时间:2018-03-23 17:26:00 概述 本文结合Link Develop,详细介绍如何基于Python SDK,实现物联网设备的设备注册.属性上报.事 ...
- Python库参考手册
Python库参考手册 Numpy 官方中文手册:https://www.numpy.org.cn/ matplotlib 官方中文手册:https://www.matplotlib.org.cn/ ...
- python语言的主网址-python官方网站
广告关闭 腾讯云双11爆品提前享,精选热门产品助力上云,云服务器首年88元起,买的越多返的越多,最高满返5000元! 由于整个python语言从规范到解释器都是开源的,所以理论上,只要水平够高,任何人 ...
- python语言程序设计嵩天-Python语言程序设计基础(第2版)嵩天课后答案
嵩天.礼欣.黄天羽Python语言程序设计基础(第2版)习题答案本书提出了以理解和运用计算生态为目标的Python语言教学思想,在系统讲解Python语言语法的同时介绍了从数据理解到图像处理的14个P ...
- python语言程序设计是什么,python语言程序设计教程
python语言程序设计是什么 Python是一种跨平台的计算机程序设计语言. 是一个高层次的结合了解释性.编译性.互动性和面向对象的脚本语言. 最初被设计用于编写自动化脚本(shell),随着版本的 ...
- Python编程语言学习:python语言中快速查询python自带模块函数的用法及其属性方法、如何查询某个函数关键词的用法、输出一个类或者实例化对象的所有属性和方法名之详细攻略
Python编程语言学习:python语言中快速查询python自带模块&函数的用法及其属性方法.如何查询某个函数&关键词的用法.输出一个类或者实例化对象的所有属性和方法名之详细攻略 ...
最新文章
- 【Machine Learning实验5】SVM实验
- linux脚本批量复制文件,shell实现scp批量下发文件
- r语言用行名称提取数据框信息显示na_学会这些R语言技巧至少可以节省半年时间...
- 外星人bios按f2调风扇_外星人电脑上海维修站地址「上海市飞雕国际大厦2703室」...
- java中jnum i .length,java数组和多维数组
- Android程序财务管理,基于android的个人财务管理系统的设计与实现..pdf
- Linux与shell编程之一: Linux基础知识总结
- 父子/父孙传参(Provide/inject方式)
- oracle手动 建库_Oracle Create the Database for 11g(手动创建数据库)
- 蓝桥杯2019年第十届C/C++省赛B组第一题-组队
- 穿越者的真正优势是人才
- 操作系统实验报告 lab6
- MX6Q WM8978 KSZ8863调试笔记
- CSS动画 animation与transition
- 魂斗罗java代码素材和代码_魂斗罗素材
- pyspark 读mysql数据_spark读mysql数据
- 自制 计算机主板,三步教你如何DIY电脑主板和CPU的搭配
- 快来,别人不知道的秘密,QQ空间视频下载教程
- 红楼解梦五--饥饿疗法
- Java+Swing+mysql用户信息管理系统
热门文章
- AI模型变身文豪:“看懂”新闻报道,命名图片更有文采
- 完全图解RNN、RNN变体、Seq2Seq、Attention机制
- [搜索]一种分词的实现(2)
- 深入理解分布式技术 - 理论基石 CAP
- AS插件-Android Drawable Importer
- An error has occurred while drawing:java.lang.IllegalStateException: The display list is not valid.
- 数据结构与算法笔记(六)—— 冒泡排序
- Java设计模式(三) -- 代理模式
- 体验使用node.js创建vue+Element-UI项目
- Gradle自动化之自动打包并上传到fir测试网站