Articoli correlati a Learning Python

Lutz, Mark Learning Python ISBN 13: 9780596513986

Learning Python - Brossura

 
9780596513986: Learning Python

Sinossi

Portable, powerful, and a breeze to use, Python is ideal for both standalone programs and scripting applications. With this hands-on book, you can master the fundamentals of the core Python language quickly and efficiently, whether you're new to programming or just new to Python. Once you finish, you will know enough about the language to use it in any application domain you choose.

Learning Python is based on material from author Mark Lutz's popular training courses, which he's taught over the past decade. Each chapter is a self-contained lesson that helps you thoroughly understand a key component of Python before you continue. Along with plenty of annotated examples, illustrations, and chapter summaries, every chapter also contains Brain Builder, a unique section with practical exercises and review quizzes that let you practice new skills and test your understanding as you go.

This book covers:

  • Types and Operations -- Python's major built-in object types in depth: numbers, lists, dictionaries, and more


  • Statements and Syntax -- the code you type to create and process objects in Python, along with Python's general syntax model


  • Functions -- Python's basic procedural tool for structuring and reusing code


  • Modules -- packages of statements, functions, and other tools organized into larger components


  • Classes and OOP -- Python's optional object-oriented programming tool for structuring code for customization and reuse


  • Exceptions and Tools -- exception handling model and statements, plus a look at development tools for writing larger programs
Learning Python gives you a deep and complete understanding of the language that will help you comprehend any application-level examples of Python that you later encounter. If you're ready to discover what Google and YouTube see in Python, this book is the best way to get started.

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

L'autore

Mark Lutz is the world leader in Python training, the author of Python's earliest and best-selling texts, and a pioneering figure in the Python community since 1992. He is also the author of O'Reilly's Programming Python, 3rd Edition and Python Pocket Reference, 3rd Edition. Mark began teaching Python classes in 1997, and has instructed more than 200 Python training sessions as of 2007. Mark also has BS and MS degrees in Computer Science and 25 years of software development experience.Whenever Mark gets a break from spreading the Python word, he leads an ordinary, average life with his kids in Colorado. Mark can be reached by email at , or on the web at http://www.rmi.net/~lutz.

Contenuti

Dedication; Preface; About This Third Edition; About This Book; Book Updates; About the Programs in This Book; Preparing for Python 3.0; About This Series; Using Code Examples; Font Conventions; Safari® Books Online; How to Contact Us; Acknowledgments; Getting Started; Chapter 1: A Python Q&A Session; 1.1 Why Do People Use Python?; 1.2 Is Python a "Scripting Language"?; 1.3 OK, but What's the Downside?; 1.4 Who Uses Python Today?; 1.5 What Can I Do with Python?; 1.6 What Are Python's Technical Strengths?; 1.7 How Does Python Stack Up to Language X?; 1.8 Chapter Summary; Chapter 2: How Python Runs Programs; 2.1 Introducing the Python Interpreter; 2.2 Program Execution; 2.3 Execution Model Variations; 2.4 Chapter Summary; Chapter 3: How You Run Programs; 3.1 Interactive Coding; 3.2 System Command Lines and Files; 3.3 Clicking File Icons; 3.4 Module Imports and Reloads; 3.5 The IDLE User Interface; 3.6 Other IDEs; 3.7 Embedding Calls; 3.8 Frozen Binary Executables; 3.9 Text Editor Launch Options; 3.10 Other Launch Options; 3.11 Future Possibilities?; 3.12 Which Option Should I Use?; 3.13 Chapter Summary; 3.14 BRAIN BUILDER; Types and Operations; Chapter 4: Introducing Python Object Types; 4.1 Why Use Built-in Types?; 4.2 Numbers; 4.3 Strings; 4.4 Lists; 4.5 Dictionaries; 4.6 Tuples; 4.7 Files; 4.8 Other Core Types; 4.9 Chapter Summary; Chapter 5: Numbers; 5.1 Python Numeric Types; 5.2 Python Expression Operators; 5.3 Numbers in Action; 5.4 Other Numeric Types; 5.5 Chapter Summary; Chapter 6: The Dynamic Typing Interlude; 6.1 The Case of the Missing Declaration Statements; 6.2 Shared References; 6.3 Dynamic Typing Is Everywhere; 6.4 Chapter Summary; Chapter 7: ofsmallStrings; 7.1 String Literals; 7.2 Strings in Action; 7.3 String Formatting; 7.4 String Methods; 7.5 General Type Categories; 7.6 Chapter Summary; Chapter 8: Lists and Dictionaries; 8.1 Lists; 8.2 Lists in Action; 8.3 Dictionaries; 8.4 Dictionaries in Action; 8.5 Chapter Summary; Chapter 9: Tuples, Files, and Everything Else; 9.1 Tuples; 9.2 Files; 9.3 Type Categories Revisited; 9.4 Object Flexibility; 9.5 References Versus Copies; 9.6 Comparisons, Equality, and Truth; 9.7 Python's Type Hierarchies; 9.8 Other Types in Python; 9.9 Built-in Type Gotchas; 9.10 Chapter Summary; 9.11 BRAIN BUILDER; Statements and Syntax; Chapter 10: Introducing Python Statements; 10.1 Python Program Structure Revisited; 10.2 A Tale of Two ifs; 10.3 A Quick Example: Interactive Loops; 10.4 Chapter Summary; Chapter 11: rwordsAssignment, Expressions, and print; 11.1 Assignment Statements; 11.2 Expression Statements; 11.3 print Statements; 11.4 Chapter Summary; Chapter 12: if Tests; 12.1 if Statements; 12.2 Python Syntax Rules; 12.3 Truth Tests; 12.4 Chapter Summary; Chapter 13: while and for Loops; 13.1 while Loops; 13.2 break, continue, pass, and the Loop else; 13.3 for Loops; 13.4 Iterators: A First Look; 13.5 Loop Coding Techniques; 13.6 List Comprehensions: A First Look; 13.7 Chapter Summary; Chapter 14: The Documentation Interlude; 14.1 Python Documentation Sources; 14.2 Common Coding Gotchas; 14.3 Chapter Summary; 14.4 BRAIN BUILDER; Functions; Chapter 15: Function Basics; 15.1 Why Use Functions?; 15.2 A First Example: Definitions and Calls; 15.3 A Second Example: Intersecting Sequences; 15.4 Chapter Summary; Chapter 16: Scopes and Arguments; 16.1 Scope Rules; 16.2 The global Statement; 16.3 Scopes and Nested Functions; 16.4 Passing Arguments; 16.5 Special Argument-Matching Modes; 16.6 Chapter Summary; Chapter 17: Advanced Function Topics; 17.1 Anonymous Functions: lambda; 17.2 Applying Functions to Arguments; 17.3 Mapping Functions over Sequences: map; 17.4 Functional Programming Tools: filter and reduce; 17.5 List Comprehensions Revisited: Mappings; 17.6 Iterators Revisited: Generators; 17.7 Timing Iteration Alternatives; 17.8 Function Design Concepts; 17.9 Function Gotchas; 17.10 Chapter Summary; 17.11 BRAIN BUILDER; Modules; Chapter 18: Modules: The Big Picture; 18.1 Why Use Modules?; 18.2 Python Program Architecture; 18.3 How Imports Work; 18.4 Chapter Summary; Chapter 19: Module Coding Basics; 19.1 Module Creation; 19.2 Module Usage; 19.3 Module Namespaces; 19.4 Reloading Modules; 19.5 Chapter Summary; Chapter 20: Module Packages; 20.1 Package Import Basics; 20.2 Package Import Example; 20.3 Why Use Package Imports?; 20.4 Chapter Summary; Chapter 21: Advanced Module Topics; 21.1 Data Hiding in Modules; 21.2 Enabling Future Language Features; 21.3 Mixed Usage Modes: _ _name_ _ and _ _main_ _; 21.4 Changing the Module Search Path; 21.5 The import as Extension; 21.6 Relative Import Syntax; 21.7 Module Design Concepts; 21.8 Module Gotchas; 21.9 Chapter Summary; 21.10 BRAIN BUILDER; Classes and OOP; Chapter 22: OOP: The Big Picture; 22.1 Why Use Classes?; 22.2 OOP from 30,000 Feet; 22.3 Chapter Summary; Chapter 23: Class Coding Basics; 23.1 Classes Generate Multiple Instance Objects; 23.2 Classes Are Customized by Inheritance; 23.3 Classes Can Intercept Python Operators; 23.4 The World's Simplest Python Class; 23.5 Chapter Summary; Chapter 24: Class Coding Details; 24.1 The class Statement; 24.2 Methods; 24.3 Inheritance; 24.4 Operator Overloading; 24.5 Namespaces: The Whole Story; 24.6 A More Realistic Example; 24.7 Chapter Summary; Chapter 25: Designing with Classes; 25.1 Python and OOP; 25.2 Classes As Records; 25.3 OOP and Inheritance: "Is-a" Relationships; 25.4 OOP and Composition: "Has-a" Relationships; 25.5 OOP and Delegation; 25.6 Multiple Inheritance; 25.7 Classes Are Objects: Generic Object Factories; 25.8 Methods Are Objects: Bound or Unbound; 25.9 Documentation Strings Revisited; 25.10 Classes Versus Modules; 25.11 Chapter Summary; Chapter 26: Advanced Class Topics; 26.1 Extending Built-in Types; 26.2 Pseudoprivate Class Attributes; 26.3 New-Style Classes; 26.4 Static and Class Methods; 26.5 Function Decorators; 26.6 Class Gotchas; 26.7 Chapter Summary; 26.8 BRAIN BUILDER; Exceptions and Tools; Chapter 27: Exception Basics; 27.1 Why Use Exceptions?; 27.2 Exception Handling: The Short Story; 27.3 The try/except/else Statement; 27.4 The try/finally Statement; 27.5 Unified try/except/finally; 27.6 The raise Statement; 27.7 The assert Statement; 27.8 with/as Context Managers; 27.9 Chapter Summary; Chapter 28: Exception Objects; 28.1 String-Based Exceptions; 28.2 Class-Based Exceptions; 28.3 General raise Statement Forms; 28.4 Chapter Summary; Chapter 29: Designing with Exceptions; 29.1 Nesting Exception Handlers; 29.2 Exception Idioms; 29.3 Exception Design Tips; 29.4 Exception Gotchas; 29.5 Core Language Summary; 29.6 Chapter Summary; 29.7 BRAIN BUILDER; Appendixes; Installation and Configuration; Installing the Python Interpreter; Configuring Python; Solutions to End-of-Part Exercises; Part I, Getting Started; Part II, Types and Operations; Part III, Statements and Syntax; Part IV, Functions; Part V, Modules; Part VI, Classes and OOP; Part VII, Exceptions and Tools; Colophon;

Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.

  • EditoreO'Reilly Media
  • Data di pubblicazione2007
  • ISBN 10 0596513984
  • ISBN 13 9780596513986
  • RilegaturaCopertina flessibile
  • LinguaInglese
  • Numero edizione3
  • Numero di pagine700

Compra usato

Condizioni: molto buono
Item in very good condition! Textbooks...
Visualizza questo articolo

GRATIS per la spedizione in U.S.A.

Destinazione, tempi e costi

Risultati della ricerca per Learning Python

Foto dell'editore

Lutz, Mark
Editore: O'Reilly Media, 2007
ISBN 10: 0596513984 ISBN 13: 9780596513986
Antico o usato Brossura

Da: SecondSale, Montgomery, IL, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: Very Good. Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc. Codice articolo 00084018443

Contatta il venditore

Compra usato

EUR 3,90
Convertire valuta
Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Quantità: 2 disponibili

Aggiungi al carrello

Foto dell'editore

Lutz, Mark
Editore: O'Reilly Media, Inc., 2007
ISBN 10: 0596513984 ISBN 13: 9780596513986
Antico o usato paperback

Da: Orion Tech, Kingwood, TX, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

paperback. Condizione: Good. Codice articolo 0596513984-3-33417974

Contatta il venditore

Compra usato

EUR 3,92
Convertire valuta
Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Lutz, Mark
Editore: O'Reilly Media, Inc., 2007
ISBN 10: 0596513984 ISBN 13: 9780596513986
Antico o usato Brossura

Da: Dream Books Co., Denver, CO, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: acceptable. This copy has clearly been enjoyedâ"expect noticeable shelf wear and some minor creases to the cover. Binding is strong, and all pages are legible. May contain previous library markings or stamps. Codice articolo DBV.0596513984.A

Contatta il venditore

Compra usato

EUR 3,96
Convertire valuta
Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Lutz, Mark
Editore: O'Reilly Media, Inc., 2007
ISBN 10: 0596513984 ISBN 13: 9780596513986
Antico o usato Brossura

Da: Idaho Youth Ranch Books, Boise, ID, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: Acceptable. A readable copy. All pages are intact, and the cover is intact (However the dust cover may be missing). Pages can include considerable notes--in pen or highlighter--but the notes cannot obscure the text. Book may be a price cutter or have a remainder mark. Codice articolo A-01-02-10-0605

Contatta il venditore

Compra usato

EUR 2,31
Convertire valuta
Spese di spedizione: EUR 3,53
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Lutz, Mark
Editore: O'Reilly Media, Inc., 2007
ISBN 10: 0596513984 ISBN 13: 9780596513986
Antico o usato paperback

Da: Seattle Goodwill, Seattle, WA, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

paperback. Condizione: Good. May have some shelf-wear due to normal use. Your purchase funds free job training and education in the greater Seattle area. Thank you for supporting Goodwill's nonprofit mission! Codice articolo 0KVOV9001LER_ns

Contatta il venditore

Compra usato

EUR 3,47
Convertire valuta
Spese di spedizione: EUR 3,53
In U.S.A.
Destinazione, tempi e costi

Quantità: 3 disponibili

Aggiungi al carrello

Foto dell'editore

Lutz, Mark
ISBN 10: 0596513984 ISBN 13: 9780596513986
Antico o usato Brossura

Da: Better World Books, Mishawaka, IN, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: Very Good. Used book that is in excellent condition. May show signs of wear or have minor defects. Codice articolo 4240831-6

Contatta il venditore

Compra usato

EUR 7,81
Convertire valuta
Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Lutz, Mark
ISBN 10: 0596513984 ISBN 13: 9780596513986
Antico o usato Brossura

Da: Better World Books: West, Reno, NV, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: Good. Used book that is in clean, average condition without any missing pages. Codice articolo 4240830-6

Contatta il venditore

Compra usato

EUR 7,81
Convertire valuta
Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Quantità: 2 disponibili

Aggiungi al carrello

Foto dell'editore

Lutz, Mark
ISBN 10: 0596513984 ISBN 13: 9780596513986
Antico o usato Brossura

Da: Better World Books, Mishawaka, IN, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: Good. Used book that is in clean, average condition without any missing pages. Codice articolo 4240830-6

Contatta il venditore

Compra usato

EUR 7,81
Convertire valuta
Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Lutz, Mark
ISBN 10: 0596513984 ISBN 13: 9780596513986
Antico o usato Brossura

Da: Better World Books, Mishawaka, IN, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: Good. Former library book; may include library markings. Used book that is in clean, average condition without any missing pages. Codice articolo 7561634-6

Contatta il venditore

Compra usato

EUR 7,81
Convertire valuta
Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Lutz, Mark
Editore: O'Reilly Media, 2007
ISBN 10: 0596513984 ISBN 13: 9780596513986
Antico o usato Paperback

Da: HPB-Red, Dallas, TX, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback. Condizione: Good. Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Codice articolo S_392277897

Contatta il venditore

Compra usato

EUR 4,56
Convertire valuta
Spese di spedizione: EUR 3,32
In U.S.A.
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Vedi altre 13 copie di questo libro

Vedi tutti i risultati per questo libro