1. 首页
  2. 编程语言
  3. Python
  4. Learning Python 5th Edition英文高清版

Learning Python 5th Edition英文高清版

上传者: 2020-07-30 15:16:23上传 PDF文件 20.21MB 热度 32次
《Python学习手册》第五版 英文版本书是学习Python 编程语言的入门书籍。Python 是一种很流行的程序语言,可以作为独立的程序和脚本在各种领域中应用。Python 免费、可移植、功能强大,而且使用起来相当容易。  无论你是编程初学者,还是专业开发人员,本书的目标是让你快速掌握核心Python 语言基础。阅读本书后,会对Python 有足够的了解,能够将其应用于你所要从事的应用领域中。Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. BaFIFTH EDITIONLearning PythonMark lutO REILLYBeijing· Cambridge. Farnham·Koln· Sebastopol· TokyoLearning Python, Fifth Editionby mark lutzCopyright@ 2013 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/institutionalsalesdepartment800-998-9938orcorporate@oreilly.comEditor: Rachel roumeliotisIndexer: Lucie haskinsProduction Editor: Christopher HearseCover designer: Randy ComerCopyeditor: Rachel MonaghanInterior Designer: David FutatoProofreader: Julie Van KeurenIllustrator: Rebecca DemarestJune 2013Fifth editionRevision History for the fifth Edition2013-06-07 First releaseSeehttporeillycom/catalog/errata.cspisbn=9781449355739forreleasedetailsNutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks ofO'Reilly media, Inc. Learning Python, 5th Edition, the image of a wood rat, and related trade dress aretrademarks of O'Reilly Media, IncMany of the 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 authors assumeno responsibility for errors or omissions, or for damages resulting from the use of the information contained hereinISBN:978-1-449-35573-91370970520To VeYou are my lifeTable of contentsPrefaceXXPart I. Getting Started1. A Python Q&A SessionWhy do people use pythonSoftware QualityDeveloper productivityIs Python a“ Scripting language”?OK. but What's the downside?3345579Who Uses Python Today?What Can I Do with Python?10Systems ProgrammingGUIsInternet ScriptingComponent Integration12Database ProgrammingRapid prototypingNumeric and Scientific ProgrammingAnd More: Gaming, Images, Data Mining, Robots, Excel14How Is Python Developed and Supported?15pen Source i radeofIs15What Are Pythons Technical Strengths16It's Object-Oriented and Functional16It's freeIt's portableIt's powerfulIt's mixableIt's Relatively easy to use19It's Relatively easy to Learn20It's named After Monty PythonHow Does Python Stack Up to Language X?Chapter Summary22uIZTest Your Knowledge: Answers232. How Python Runs Programs................,27Introducing the Python Interpreter27Program Execution28The Programmer's view28Python's view30Execution Model variations33Python Implementation alternativesExecution Optimization ToolsFrozen binaries39Future possibilitic40Chapter summaryTest Your Knowledge: QuizTest Your Knowledge: Answers413. How You run programsThe Interactive PromptStarting an Interactive sessionThe System Path45New Windows Options in 3.3 PATH, LauncherWhere to Run Code directories47What Not to Type: Prompts and ce48Running Code Interactively49Why the Interactive Prompt?Usage Notes: The Interactive Prompt52System Command Lines and Files54A First scriptRunning Files with Command lines56Command-Line Usage Variations57Usage Notes: Command Lines and Files58Unix-Style Executable Scripts: #Unix Script BasicsThe Unix env Lookup Trick60The Python 3. 3 Windows Launcher: # Comes to Windows60Clicking File Icons62Icon-Click Basics62Clicking icons on windows63The input Trick on Windows63Other Icon-Click limitations66I Table of ContentsModule imports and reloadsImport and reload basics66The grander Module Story: Attributes68Usage notes: import and reload71Using exec to Run Module filesThe idle User InterfaceIDLE Startup details74IDlE Basic usage75IDLE USability Features76Advanced idle tools77Usage Notes: IDLEOther idesOther Launch Options81Embedding calls81Frozen Binary executables82Text Editor Launch Options8Still Other Launch optionsFuture possibilities?Which Option Should I Use?Chapter summaryTest your knowlepledge: Quiz85Test Your Knowledge: AnswersTest Your Knowledge: Part I ExercisesPart Il. Types and Operations4. Introducing Python Object Types................The Python Conceptual Hierarchy93Why Use Built-in Types?94Pythons Core data TypesNumbersrings9Sequence operations99mutability101Type-Specific Methods102Getting Help104Other Ways to Code Strings105Unicode Strings106Pattern Matching108Lists109Sequence operations109Type-Specific Operations109Table of contents|ⅶiBounds CheckingNesting110mpnsionsDictionaries113Mapping Operations114Nesting Revisited115Missing Keys: if Tests116Sorting Keys: for Loops118Iteration and optimization120121Why Tuples?12Binary bytes File123Unicode Text files124Other File-Like tools126Other Core types126How to Break Your Code's Flexibility128User-Defined Classes129And Everything else130Chapter summary130Test your knowlepledge: Quiz131Test Your Knowledge: Answers1315. Numeric Types.....133Numeric Type basic133Numeric Literals134Built-in Numeric tools136Python Expression Operators136Numbers in action141Variables and Basic expressions141Numeric Display Formats143Comparisons: Normal and Chained144Division: Classic. Floor, and True146Integer Precision150Complex numbers151Hex, Octal, Binary: Literals and Conversions151Bitwise operations153Other Built-in numeric tools155Other Numeric Types157IT157fraction Type160163Booleans171ⅶ ii Table of Contents
下载地址
用户评论
码姐姐匿名网友 2020-07-30 15:16:24

可以啊。终于找到了。谢谢