Mark Lutz; David Ascher Learning Python

ISBN 13: 9780596002817

Learning Python

Valutazione media 3,95
( su 2.589 valutazioni fornite da Goodreads )
 
9780596002817: Learning Python
Vedi tutte le copie di questo ISBN:
 
 

Portable, powerful, and a breeze to use, Python is the popular open source object-oriented programming language used for both standalone programs and scripting applications. Python is considered easy to learn, but there's no quicker way to mastery of the language than learning from an expert teacher. This edition of Learning Python puts you in the hands of two expert teachers, Mark Lutz and David Ascher, whose friendly, well-structured prose has guided many a programmer to proficiency with the language.

Learning Python, Second Edition, offers programmers a comprehensive learning tool for Python and object-oriented programming. Thoroughly updated for the numerous language and class presentation changes that have taken place since the release of the first edition in 1999, this guide introduces the basic elements of the latest release of Python 2.3 and covers new features, such as list comprehensions, nested scopes, and iterators/generators.

Beyond language features, this edition of Learning Python also includes new context for less-experienced programmers, including fresh overviews of object-oriented programming and dynamic typing, new discussions of program launch and configuration options, new coverage of documentation sources, and more. There are also new use cases throughout to make the application of language features more concrete.

The first part of Learning Python gives programmers all the information they'll need to understand and construct programs in the Python language, including types, operators, statements, classes, functions, modules and exceptions. The authors then present more advanced material, showing how Python performs common tasks by offering real applications and the libraries available for those applications. Each chapter ends with a series of exercises that will test your Python skills and measure your understanding.

Learning Python, Second Edition is a self-paced book that allows readers to focus on the core Python language in depth. As you work through the book, you'll gain a deep and complete understanding of the Python language that will help you to understand the larger application-level examples that you'll encounter on your own. If you're interested in learning Python--and want to do so quickly and efficiently--then Learning Python, Second Edition is your best choice.

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

L'autore:

Mark Lutz is an independent Python trainer, writer, and software developer, and is one of the primary figures in the Python community. He is the author of the O'Reilly books Programming Python and Python Pocket Reference (both in 2nd Editions), and co-author of Learning Python (both in 2nd Editions). Mark has been involved with Python since 1992, began teaching Python classes in 1997, and has instructed over 90 Python training sessions as of early 2003. In addition, he holds BS and MS degrees in computer science from the University of Wisconsin, and over the last two decades has worked on compilers, programming tools, scripting applications, and assorted client/server systems. 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.

David Ascher is the lead for Python projects at ActiveState, including Komodo, ActiveState's integrated development environment written mostly in Python. David has taught courses about Python to corporations, in universities, and at conferences. He also organized the Python track at the 1999 and 2000 O'Reilly Open Source Conventions, and was the program chair for the 10th International Python Conference. In addition, he co-wrote Learning Python (both editions) and serves as a director of the Python Software Foundation. David holds a B.S. in physics and a Ph.D. in cognitive science, both from Brown University.

Contenuti:

Dedication; Preface; About This Second Edition; Prerequisites; This Book's Scope; This Book's Style and Structure; Book Updates; Font Conventions; About the Programs in This Book; Using Code Examples; How to Contact Us; Acknowledgments; Part I: 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 Okay, 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?; Chapter 2: How Python Runs Programs; 2.1 Introducing the Python Interpreter; 2.2 Program Execution; 2.3 Execution Model Variations; Chapter 3: How You Run Programs; 3.1 Interactive Coding; 3.2 System Command Lines and Files; 3.3 Clicking Windows 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 Part I Exercises; Part II: Types and Operations; Chapter 4: Numbers; 4.1 Python Program Structure; 4.2 Why Use Built-in Types?; 4.3 Numbers; 4.4 Python Expression Operators; 4.5 Numbers in Action; 4.6 The Dynamic Typing Interlude; Chapter 5: Strings; 5.1 String Literals; 5.2 Strings in Action; 5.3 String Formatting; 5.4 String Methods; 5.5 General Type Categories; Chapter 6: Lists and Dictionaries; 6.1 Lists; 6.2 Lists in Action; 6.3 Dictionaries; 6.4 Dictionaries in Action; Chapter 7: Tuples, Files, and Everything Else; 7.1 Tuples; 7.2 Files; 7.3 Type Categories Revisited; 7.4 Object Generality; 7.5 References Versus Copies; 7.6 Comparisons, Equality, and Truth; 7.7 Python's Type Hierarchies; 7.8 Other Types in Python; 7.9 Built-in Type Gotchas; 7.10 Part II Exercises; Part III: Statements and Syntax; Chapter 8: Assignment, Expressions, and Print; 8.1 Assignment Statements; 8.2 Expression Statements; 8.3 Print Statements; Chapter 9: if Tests; 9.1 if Statements; 9.2 Python Syntax Rules; 9.3 Truth Tests; Chapter 10: while and for Loops; 10.1 while Loops; 10.2 break, continue, pass, and the Loop else; 10.3 for Loops; 10.4 Loop Variations; Chapter 11: Documenting Python Code; 11.1 The Python Documentation Interlude; 11.2 Common Coding Gotchas; 11.3 Part III Exercises; Part IV: Functions; Chapter 12: Function Basics; 12.1 Why Use Functions?; 12.2 Coding Functions; 12.3 A First Example: Definitions and Calls; 12.4 A Second Example: Intersecting Sequences; Chapter 13: Scopes and Arguments; 13.1 Scope Rules; 13.2 The global Statement; 13.3 Scopes and Nested Functions; 13.4 Passing Arguments; 13.5 Special Argument Matching Modes; Chapter 14: Advanced Function Topics; 14.1 Anonymous Functions: lambda; 14.2 Applying Functions to Arguments; 14.3 Mapping Functions Over Sequences; 14.4 Functional Programming Tools; 14.5 List Comprehensions; 14.6 Generators and Iterators; 14.7 Function Design Concepts; 14.8 Function Gotchas; 14.9 Part IV Exercises; Part V: Modules; Chapter 15: Modules: The Big Picture; 15.1 Why Use Modules?; 15.2 Python Program Architecture; 15.3 How Imports Work; Chapter 16: Module Coding Basics; 16.1 Module Creation; 16.2 Module Usage; 16.3 Module Namespaces; 16.4 Reloading Modules; Chapter 17: Module Packages; 17.1 Package Import Basics; 17.2 Package Import Example; 17.3 Why Use Package Imports?; 17.4 A Tale of Three Systems; Chapter 18: Advanced Module Topics; 18.1 Data Hiding in Modules; 18.2 Enabling Future Language Features; 18.3 Mixed Usage Modes: __name__ and __main__; 18.4 Changing the Module Search Path; 18.5 The import as Extension; 18.6 Module Design Concepts; 18.7 Module Gotchas; 18.8 Part V Exercises; Part VI: Classes and OOP; Chapter 19: OOP: The Big Picture; 19.1 Why Use Classes?; 19.2 OOP from 30,000 Feet; Chapter 20: Class Coding Basics; 20.1 Classes Generate Multiple Instance Objects; 20.2 Classes Are Customized by Inheritance; 20.3 Classes Can Intercept Python Operators; Chapter 21: Class Coding Details; 21.1 The Class Statement; 21.2 Methods; 21.3 Inheritance; 21.4 Operator Overloading; 21.5 Namespaces: The Whole Story; Chapter 22: Designing with Classes; 22.1 Python and OOP; 22.2 Classes as Records; 22.3 OOP and Inheritance: "is-a" Relationships; 22.4 OOP and Composition: "has-a" Relationships; 22.5 OOP and Delegation; 22.6 Multiple Inheritance; 22.7 Classes Are Objects: Generic Object Factories; 22.8 Methods Are Objects: Bound or Unbound; 22.9 Documentation Strings Revisited; 22.10 Classes Versus Modules; Chapter 23: Advanced Class Topics; 23.1 Extending Built-in Types; 23.2 Pseudo-Private Class Attributes; 23.3 "New Style" Classes in Python 2.2; 23.4 Class Gotchas; 23.5 Part VI Exercises; Part VII: Exceptions and Tools; Chapter 24: Exception Basics; 24.1 Why Use Exceptions?; 24.2 Exception Handling: The Short Story; 24.3 The try/except/else Statement; 24.4 The try/finally Statement; 24.5 The raise Statement; 24.6 The assert Statement; Chapter 25: Exception Objects; 25.1 String-Based Exceptions; 25.2 Class-Based Exceptions; 25.3 General raise Statement Forms; Chapter 26: Designing with Exceptions; 26.1 Nesting Exception Handlers; 26.2 Exception Idioms; 26.3 Exception Design Tips; 26.4 Exception Gotchas; 26.5 Core Language Summary; 26.6 Part VII Exercises; Part VIII: The Outer Layers; Chapter 27: Common Tasks in Python; 27.1 Exploring on Your Own; 27.2 Conversions, Numbers, and Comparisons; 27.3 Manipulating Strings; 27.4 Data Structure Manipulations; 27.5 Manipulating Files and Directories; 27.6 Internet-Related Modules; 27.7 Executing Programs; 27.8 Debugging, Testing, Timing, Profiling; 27.9 Exercises; Chapter 28: Frameworks; 28.1 An Automated Complaint System; 28.2 Interfacing with COM: Cheap Public Relations; 28.3 A Tkinter-Based GUI Editor for Managing Form Data; 28.4 Jython: The Felicitous Union of Python and Java; 28.5 Exercises; Chapter 29: Python Resources; 29.1 Layers of Community; 29.2 The Process; 29.3 Services and Products; 29.4 The Legal Framework: The Python Software Foundation; 29.5 Software; 29.6 Popular Third-Party Software; 29.7 Web Application Frameworks; 29.8 Tools for Python Developers; Part IX: Appendixes; Appendix A: Installation and Configuration; A.1 Installing the Python Interpreter; Appendix B: Solutions to Exercises; B.1 Part I, Getting Started; B.2 Part II, Types and Operations; B.3 Part III, Statements and Syntax; B.4 Part IV, Functions; B.5 Part V, Modules; B.6 Part VI, Classes and OOP; B.7 Part VII, Exceptions and Tools; B.8 Part VIII, The Outer Layers; Colophon;

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

Altre edizioni note dello stesso titolo

9781600330216: Learning Python

Edizione in evidenza

ISBN 10: 1600330215 ISBN 13: 9781600330216
Casa editrice: Oreilly & Associates Inc, 2006
Brossura

I migliori risultati di ricerca su AbeBooks

Foto dell'editore

1.

Mark Lutz, David Ascher
Editore: O'Reilly Media (2003)
ISBN 10: 0596002815 ISBN 13: 9780596002817
Nuovo Paperback Quantità: 1
Da
pickabook
(Daly City, CA, U.S.A.)
Valutazione libreria

Descrizione libro O'Reilly Media, 2003. Paperback. Condizione: New. Codice articolo mon0000214265

Informazioni sul venditore | Contattare il venditore

Compra nuovo
EUR 23,54
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 3,30
In U.S.A.
Destinazione, tempi e costi
Foto dell'editore

2.

Mark Lutz, David Ascher
Editore: O'Reilly Media (2003)
ISBN 10: 0596002815 ISBN 13: 9780596002817
Nuovo Paperback Quantità: 1
Da
Ergodebooks
(Richmond, TX, U.S.A.)
Valutazione libreria

Descrizione libro O'Reilly Media, 2003. Paperback. Condizione: New. Second Edition. Codice articolo DADAX0596002815

Informazioni sul venditore | Contattare il venditore

Compra nuovo
EUR 33,34
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi
Foto dell'editore

3.

Lutz, Mark; Ascher, David
Editore: O'Reilly Media (2004)
ISBN 10: 0596002815 ISBN 13: 9780596002817
Nuovo Brossura Quantità: 1
Da
GlassFrogBooks
(Hawthorne, CA, U.S.A.)
Valutazione libreria

Descrizione libro O'Reilly Media, 2004. Condizione: New. A+ Customer service! Satisfaction Guaranteed! Book is in NEW condition. Codice articolo 0596002815-2-1

Informazioni sul venditore | Contattare il venditore

Compra nuovo
EUR 34,22
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi
Foto dell'editore

4.

Mark Lutz
Editore: O'
ISBN 10: 0596002815 ISBN 13: 9780596002817
Nuovo Quantità: 1
Da
GoldBooks
(Austin, TX, U.S.A.)
Valutazione libreria

Descrizione libro O&#39. Condizione: new. Codice articolo think0596002815

Informazioni sul venditore | Contattare il venditore

Compra nuovo
EUR 41,47
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi
Foto dell'editore

5.

Lutz, Mark; Ascher, David
Editore: O'Reilly Media (2004)
ISBN 10: 0596002815 ISBN 13: 9780596002817
Nuovo Brossura Quantità: 1
Da
Irish Booksellers
(Portland, ME, U.S.A.)
Valutazione libreria

Descrizione libro O'Reilly Media, 2004. Condizione: New. book. Codice articolo M0596002815

Informazioni sul venditore | Contattare il venditore

Compra nuovo
EUR 40,13
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 14,72
In U.S.A.
Destinazione, tempi e costi
Foto dell'editore

6.

Mark Lutz; David Ascher
ISBN 10: 0596002815 ISBN 13: 9780596002817
Nuovo Quantità: 1
Da
BennettBooksLtd
(San Diego, CA, U.S.A.)
Valutazione libreria

Descrizione libro Condizione: New. New. Codice articolo EX-0596002815

Informazioni sul venditore | Contattare il venditore

Compra nuovo
EUR 51,26
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 4,10
In U.S.A.
Destinazione, tempi e costi
Foto dell'editore

7.

Mark Lutz; David Ascher
ISBN 10: 0596002815 ISBN 13: 9780596002817
Nuovo Quantità: 1
Da
BennettBooksLtd
(San Diego, CA, U.S.A.)
Valutazione libreria

Descrizione libro Condizione: New. New. Codice articolo M-0596002815

Informazioni sul venditore | Contattare il venditore

Compra nuovo
EUR 66,21
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 4,10
In U.S.A.
Destinazione, tempi e costi
Foto dell'editore

8.

Mark Lutz; David Ascher
ISBN 10: 0596002815 ISBN 13: 9780596002817
Nuovo Quantità: 1
Da
BennettBooksLtd
(San Diego, CA, U.S.A.)
Valutazione libreria

Descrizione libro Condizione: New. New. Codice articolo E-0596002815

Informazioni sul venditore | Contattare il venditore

Compra nuovo
EUR 66,21
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 4,10
In U.S.A.
Destinazione, tempi e costi