欢迎来到天天文库
浏览记录
ID:5305870
大小:600.88 KB
页数:126页
时间:2017-12-07
《python3.2官方教程》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、PythonTutorialRelease3.2.3GuidovanRossumFredL.Drake,Jr.,editorJuly05,2012PythonSoftwareFoundationEmail:docs@python.orgCONTENTS1WhettingYourAppetite32UsingthePythonInterpreter52.1InvokingtheInterpreter.......................................52.2TheInterpreterandI
2、tsEnvironment.................................63AnInformalIntroductiontoPython93.1UsingPythonasaCalculator....................................93.2FirstStepsTowardsProgramming..................................164MoreControlFlowTools194.1ifStatements.............
3、...............................194.2forStatements...........................................194.3Therange()Function.......................................204.4breakandcontinueStatements,andelseClausesonLoops.................214.5passStatements..................
4、.........................214.6DefiningFunctions..........................................224.7MoreonDefiningFunctions.....................................234.8Intermezzo:CodingStyle......................................275DataStructures295.1MoreonLists...........
5、..................................295.2Thedelstatement..........................................335.3TuplesandSequences........................................335.4Sets..................................................345.5Dictionaries..........................
6、....................355.6LoopingTechniques.........................................365.7MoreonConditions.........................................375.8ComparingSequencesandOtherTypes...............................376Modules396.1MoreonModules.....................
7、.....................406.2StandardModules..........................................426.3Thedir()Function.........................................426.4Packages...............................................437InputandOutput477.1FancierOutputFormatting...........
8、...........................477.2ReadingandWritingFiles......................................508ErrorsandExceptions538.1SyntaxErrors..........................................
此文档下载收益归作者所有