欢迎来到天天文库
浏览记录
ID:23559394
大小:1.19 MB
页数:105页
时间:2018-11-09
《Python 3.4 入门指南(官方中文版).pdf》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、PythontutorialDocumentationRelease3.4D.DMay11,2014CONTENTS1开开开胃胃胃菜菜菜22使使使用用用Python解解解释释释器器器42.1调用Python解释器...............................42.2解释器及其环境.................................53Python简简简介介介83.1将Python当做计算器..............................83.2编程的第一步.................
2、.................174深深深入入入Python流流流程程程控控控制制制194.1if语句.....................................194.2for语句.....................................194.3break和continue语句,以及循环中的else子句...........214.4pass语句....................................224.5定义函数..............................
3、.......224.6深入Python函数定义..............................244.7插曲:编码风格.................................295数数数据据据结结结构构构305.1关于列表更多的内容..............................305.2del语句.....................................345.3元组和序列...................................355.4集合...........
4、............................365.5字典.......................................375.6循环技巧.....................................385.7深入条件控制..................................395.8比较序列和其它类型..............................406模模模块块块416.1深入模块.....................................426.
5、2标准模块.....................................446.3dir()函数...................................456.4包.........................................467输输输入入入和和和输输输出出出507.1格式化输出...................................50i7.2文件读写.....................................538错错错误误误和和和异异异常常常578.
6、1语法错误.....................................578.2异常.......................................578.3异常处理.....................................588.4抛出异常.....................................608.5用户自定义异常.................................618.6定义清理行为................................
7、..628.7预定义清理行为.................................639类类类649.1术语相关.....................................649.2Python作用域和命名空间...........................649.3初识类......................................679.4一些说明.....................................699.5继承........................
8、...............719.6私有变量.....................................729.7补充.......................................739.8异常也是类.......
此文档下载收益归作者所有