内容简介
GainafundamentalunderstandingofPython'ssyntaxandfeatureswiththesecondeditionofBeginningPython,anup-to-dateintroductionandpracticalreference.CoveringawidearrayofPython-relatedprogrammingtopics,includingaddressinglanguageinternals,databaseintegration,networkprogramming,andwebservices,you'llbeguidedbysounddevelopmentprinciples.Tenaccompanyingprojectswillensureyoucangetyourhandsdirtyinnotime.UpdatedtoreflectthelatestinPythonprogrammingparadigmsandseveralofthemostcrucialfeaturesfoundintheforthcomingPython3.0(otherwiseknownasPython3000),advancedtopics,suchasextendingPythonandpackaging/distributingPythonapplications,arealsocovered.Whatyou'lllearn*BecomeaproficientPythonprogrammerbyfollowingalongwithafriendly,practicalguidetothelanguage'skeyfeatures.*Writecodefasterbylearninghowtotakeadvantageofadvancedfeaturessuchasmagicmethods,exceptions,andabstraction.*GaininsightintomodernPythonprogrammingparadigmsincludingtesting,documentation,packaging,anddistribution.*Learnbyfollowingalongwithteninterestingprojects,includingaP2Pfile-sharingapplication,chatclient,videogame,remotetexteditor,andmore.Complete,downloadablecodeisprovidedforeachproject!WhothisbookisforProgrammers,noviceandotherwise,seekingacomprehensiveintroductiontothePythonprogramminglanguage.
作者简介
MagnusLieHetlandisanassociateprofessorofalgorithmsattheNorwegianUniversityofScienceandTechnology,NTNU.Eventhoughheloveslearningnewprogramminglanguages—evenquiteobscureones—MagnushasbeenadevotedPythonfanandanactivememberofthePythoncommunityformanyyears,andistheauthorofthepopularonlinetutorials“InstantPython”and“InstantHacking.”HishaswrittenpublicationsincludingPracticalPythonandBeginningPython,aswellasseveralscientificpapers.Whenheisn’tbusystaringatacomputerscreen,hemaybefoundreading(evenwhilebicycling),acting(inalocaltheatergroup),orgaming(mostlyrole-playinggames).