预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共137页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

PythonTutorialPython\€HRelease2.5b2GuidovanRossumFredL.Drake,Jr.,editor11thJuly,2006PythonSoftwareFoundationEmail:docs@python.orgCopyright©2001-2006PythonSoftwareFoundation.Allrightsreserved.Copyright©2000BeOpen.com.Allrightsreserved.Copyright©1995-2000CorporationforNationalResearchInitiatives.Allrightsreserved.Copyright©1991-1995StichtingMathematischCentrum.Allrightsreserved.Seetheendofthisdocumentforcompletelicenseandpermissionsinformation.AbstractPythonisaneasytolearn,powerfulprogramminglanguage.Ithasefficienthigh-leveldatastructuresandasimplebuteffectiveapproachtoobject-orientedprogramming.Python’selegantsyntaxanddynamictyping,togetherwithitsinterpretednature,makeitanideallanguageforscriptingandrapidapplicationdevelopmentinmanyareasonmostplatforms.Python´˜«N´ÆSrŒ?§Šó"§¹p¨p?êâ(¨§U^{üp¨ª?1¡•é–?§"Python`äŠ{ÚÄa.§±9§U,)ºU姦٤Œõê²þ2·^uˆ+nŽŠóÚmu‚¸"ThePythoninterpreterandtheextensivestandardlibraryarefreelyavailableinsourceorbinaryformforallmajorplatformsfromthePythonWebsite,http://www.python.org/,andmaybefreelydistributed.ThesamesitealsocontainsdistributionsofandpointerstomanyfreethirdpartyPythonmodules,programsandtools,andadditionaldocumentation.Python)ºì9Ù*ÐIO¥èÚ?ȇŒ±lPythonWebÕ:,http://www.python.org/,9Ù¤kº”Õþ¤¼§¿…Œ±gduÙ"TÕ:þJøPython˜1n¬§§S§ó䧱9N\©"ThePythoninterpreteriseasilyextendedwithnewfunctionsanddatatypesimplementedinCorC++(orotherlanguagescallablefromC).Pythonisalsosuitableasanextensionlanguageforcustomizableapplications.Python)ºìŒ±éN´ÏLC½öC++£½öÙ§Œ±ÏLCN^Šó¤*Ð#¼êÚêâa."PythonŒ±Š½›A^*Њó"ThistutorialintroducesthereaderinformallytothebasicconceptsandfeaturesofthePythonlanguageandsystem.IthelpstohaveaPythoninterpreterhandyforhands-onexperience,butallexamplesareself-contained,sothetutorialcanbereadoff-lineaswell.Ãþ•Öö0PythonŠó9ÙXÚÄ£†Vg"ÜPython)ºìÆS¬ékÏ§ØL¤k~fÑ®)3©¥§¤±ùÃþéŒ±l‚Ö"Foradescriptionofstandardobjectsandmodules,seethePythonLibraryReferencedocument.ThePythonRefer-enceManualgivesamoreformaldefinitionofthelanguage.To