資源描述:
《python入門指南》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、PythonTutorialPythonHRelease2.5b2GuidovanRossumFredL.Drake,Jr.,editor11thJuly,2006PythonSoftwareFoundationEmail:docs@python.orgCopyright?2001-2006PythonSoftwareFoundation.Allrightsreserved.Copyright?2000BeOpen.com.Allrightsreserved.Copyright?1995-2000CorporationforNationalResearchInitia
2、tives.Allrightsreserved.Copyright?1991-1995StichtingMathematischCentrum.Allrightsreserved.Seetheendofthisdocumentforcompletelicenseandpermissionsinformation.AbstractPythonisaneasytolearn,powerfulprogramminglanguage.Ithasef?cienthigh-leveldatastructuresandasimplebuteffectiveapproachtoobje
3、ct-orientedprogramming.Python’selegantsyntaxanddynamictyping,togetherwithitsinterpretednature,makeitanideallanguageforscriptingandrapidapplicationdevelopmentinmanyareasonmostplatforms.Python′?N′?Sr?§ó"§1pp?êa(§U^{üpa?1?é?§"Python`?{ú?a.§±9§U,)oU?§|ù¤?ê2t2·^u+nóúmu?"ThePython
4、interpreterandtheextensivestandardlibraryarefreelyavailableinsourceorbinaryformforallmajorplatformsfromthePythonWebsite,http://www.python.org/,andmaybefreelydistributed.ThesamesitealsocontainsdistributionsofandpointerstomanyfreethirdpartyPythonmodules,programsandtools,andadditionaldocume
5、ntation.Python)oì9ù*DIO¥èú?è±lPythonWeb?:,http://www.python.org/,9ù¤ko?t¤?§?±gduù"T?:tJ?Python1n?§§S§ó?§±9N?"ThePythoninterpreteriseasilyextendedwithnewfunctionsanddatatypesimplementedinCorC++(orotherlanguagescallablefromC).Pythonisalsosuitableasanextensionlanguageforcustomizable
6、applications.Python)oì±éN′?LC??C++£??ù§±?LCN^ó¤*D#?êúêaa."Python±?A^*Dó"ThistutorialintroducesthereaderinformallytothebasicconceptsandfeaturesofthePythonlanguageandsystem.IthelpstohaveaPythoninterpreterhandyforhands-onexperience,butallexamplesareself-contained,sothetutorialcanbereadof
7、f-lineaswell.?t??0Pythonó9ùXú?£Vg"üPython)oì?S?ék?§?L¤k~f??)3?¥§¤±ù?té±l?"Foradescriptionofstandardobjectsandmodules,seethePythonLibraryReferencedocument.ThePythonRefer-enceManualgivesamoreformalde?nitionofthelanguage.TowriteextensionsinCorC++,readExtendingandEmbed