1 / 22
文档名称:

Python 文档.doc

格式:doc   大小:476KB   页数:22页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

Python 文档.doc

上传人:yixingmaoj 2017/2/24 文件大小:476 KB

下载得到文件列表

Python 文档.doc

文档介绍

文档介绍:Re fer ence Tab les Python Ke ywo r ds T able lists Python ’s keywords. T able Python Keywords a and as b assert c break class continue def del elif else except exec finally for from global if import in is lambda not or pass print raise return try while with b yield d None e keyword obsoleted in Python . b. New in Python . c. New in Python . d. New in Python . e. Not a keyword but made a constant in Python . Python Standa rd Ope r ato rs and Functions Python 标准操作符与函数 T able represents the operators and (built-in and factory) functions that can be used with most standard Python objects as well as use r -defined objects in which you have implemented their corresponding special methods. T able Standa rdT ype Operators and Functions Operator/function Description Resul t a String representation ‘‘ Evaluatable string representation str Built-in and factory functions cmp( obj1, obj2 ) Compares two objects int repr( obj ) Evaluatable string representation str str( obj ) Printable string representation str type( obj ) Object type type T able Standa rdT ype Operators and Functions (conti n ued) operator/function Description Resul t a V parisons < Less than bool > Greater than bool <= Less than or equal to bool >= Greater than or equal to bool == Equal to bool != Not equal to bool <> Not equal to bool parisons is The same as bool is not Not the same as bool Boolean operators not Logical negation bool and Logical conjunction bool or Logical disjunction bool a. parisons return either True orFalse . Numeric T ype Ope r ato rs and Functions 数字类型操作符与函数 T able represents the operators and (built-in and factory) functions that apply to Python ’s numeric objects. T able Operators and Built-in Functions f or All Numeric T ypes Operator/ built-in Description int long plex Resul t a abs() Absolute value ???? number a chr() Character ?? str ( continued ) T able Operators and Built-in Functions f or All Numeric T ypes (conti n ued) Op

最近更新

精品消防条例纲要知识真题带答案(考试直接用.. 27页

甜品驿站创业计划书 6页

玫瑰精油项目融资方案 5页

物流设备集装箱融资方案 6页

精品注册工程师资格考试题库(名师系列) 28页

精品注册工程师考试王牌题库及答案(典优) 28页

精品注册工程师复习考试精品(考点梳理) 28页

101 首批教材试点应用项目 计算机科学导论 4页

2022五年级延边大学假期复习计划英语答案暑假.. 4页

2023国考申论范文:一个流动的中国,充满繁荣与.. 6页

精品材料员资格考试精品题库附答案(预热题).. 27页

2023年小学数学教师专业发展计划(通用4篇) 12页

2023年新高考湖北高考生物真题-解析 17页

企业单位职工退休年龄意愿及影响因素研究——.. 2页

2024中国老年糖尿病诊疗指南(第一部分) 22页

2024年人教版二年级下册数学暑假每日一练口算.. 5页

2024年工会上半年工作总结例文(3篇) 9页

以供应链为视角的工程机械企业采购管理动态能.. 2页

代谢综合征及代谢综合征肾损害的中医证候研究.. 2页

C4智能家居设计方案 4页

UGC短视频过度娱乐化的解决路径研究 9页

《MySQL数据库应用实战教程》教学大纲 14页

《控规》教学中城市设计教学方法浅探 4页

《西游记》中的文化交流与国际关系 7页

一体化生活污水处理设施设计方案 8页

精品材料员之基础知识资格考试王牌题库含答案.. 28页

专题09+作文-2023-2024学年八年级语文上学期期.. 24页

精品有关刑法知识考试题库【有一套】 31页

中小学教师国培研修计划6篇 12页

统信UOS怎么安装HP打印机 1页