Learning Python 4th Edition.pdf
python学习第四版Learning Python英文版Learning Python 4th EditionCovers Python 2.6 and 3.x version覆盖python 2.6与3.x 版本的区别内含各章节标签,非常方便阅读与查找Learning PythonDownload at wowe book comDownload at wowe book comFOURTH EDITIONLearning PythonMark lut○ REILLYBeijing· Cambridge: Farnham· KoIn. Sebastopol· Taipei· TokyoDownload at wowe book comLearning Python, Fourth Editionby mark lutzCopyright@ 2009 Mark Lutz. All rights reservedPrinted in the United States of americaPublished by O Reilly Media, Inc, 1005 Gravenstein Highway North, Sebastopol, CA 95472O'Reilly books may be purchased for educational, business, or sales promotional use. Online editionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformationcontactourcorporate/institutionalsalesdepartment:(800)998-9938orcorporate@oreilly.comEditor: Julie SteeleIndexer: John BickelProduction Editor: Sumita MukherjiCover Designer: Karen montgomeryCopyeditor: Rachel HeadInterior Designer: David FutatoProduction Services: Newgen North America ustrator: Robert romanoPrinting HistoryMarch 1999First editionDecember 2003: Second editionOctober 2007Third editionSeptember 2009: Fourth EditionNutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks ofO'Reilly Media, Inc. Learning Python, the image of a wood rat, and related trade dress are trademarksof o'Reilly media, Incthe designations used by manufacturers and sellers to distinguish their products are claimed asrademarks. Where those designations appear in this book, and O Reilly Media, Inc, was aware of atrademark claim, the designations have been printed in caps or initial capsWhile every precaution has been taken in the preparation of this book, the publisher and author assumeno responsibility for errors or omissions, or for damages resulting from the use of the information con-tained hereinISBN:978-0-596-15806-41252944666Download at wowe book comTo VeYou are my lifeDownload at wowe book comDownload at wowe book comTable of contentsPrefaceXXXPart Getting Started1. A Python Q&A SessionWhy do people use pythonSoftware QualityDeveloper productivityIs Python a“ Scripting language”?OK. but What's the downside?Who Uses Python Today?334557799What Can I Do with Python?Systems ProgrammingGUIsInternet Scripting10Component Integration10Database ProgrammingRapid prototypingNumeric and Scientific ProgrammingGaming, Images, Serial Ports, XML, Robots, and more12How Is Python Supported?12What Are Pythons Technical Strengths?It's Object-OrientedIt's free13It's portable14It's powerful15It's mixableIt's easy to use16It's easy to learn17It's Named After Monty PythonHow Does Python Stack Up to Language X?Download at wowe book comChapter summaryTest Your Knowledge: QuizTest Your Knowledge: Answers192. How Python runs Programs23Introducing the Python InterpreterProgram execution24The Programmer's view24ythons view26Execution Model variations29Python implementation alternatives29Execution Optimization ToolsFrozen binaries32Other Execution OptionsFuture possibilities?33Chapter summaryTest Your Knowledge: Quiz34Test Your Knowledge: Answers343. How You run Programs35The Interactive PromptRunning code interactiveWhy the Interactive Prompt?38Using the Interactive Prompt39System Command Lines and Files41A First script42Running files with Command linesUsing Command Lines and filesUnix Executable Scripts(#!)46Clicking File Icons47Clicking icons on windows47The input TrickOther Icon -Click limitations50Module imports and reloads51The Grander Module Story: Attributesimport and reload Usage Notes56Using exec to Run Module FilesThe IDLE User Interface58IDLE Basics58USing IDLEAdvanced IDle tools62Other IDes63Other Launch Options64ⅶ ii Table of ContentsDownload at wowe book com
用户评论
经典之作非常好
很不错的资料
清晰可读。。。入门好书。
非常棒的教材,学习python经典之作
很清晰,很给力,这本书挺经典的,是本不错的教材!
學習Python的好書
高清原版,适合放在手机上备查
文字版挺好不过内容太繁琐了
很好很清晰,加油啊
非常详细的Python教材