Dive into Python

Detalles Bibliográficos
Autor Principal: Pilgrim, Mark
Formato: Libro
Lengua:inglés
Datos de publicación: Berkeley : Apress, c2004
Edición:1st ed.
Temas:
Acceso en línea:Consultar en el Cátalogo
Notas:Incluye índice
Descripción Física:xviii, 413 p.
ISBN:1590593561

MARC

LEADER 00000nam a2200000 a 4500
003 AR-LpUFIB
005 20250423183220.0
008 230201s2004 xxu r 000 0 eng d
020 |a 1590593561 
024 8 |a DIF-M7517  |b 7736  |z DIF006866 
040 |a AR-LpUFIB  |b spa  |c AR-LpUFIB 
100 1 |a Pilgrim, Mark  |9 49545 
245 1 0 |a Dive into Python 
250 |a 1st ed. 
260 |a Berkeley :  |b  Apress,  |c c2004 
300 |a xviii, 413 p. 
500 |a Incluye índice 
505 0 |a  Introduction -- 1. Installing Python -- Which Python is right for you? -- Python on Windows -- Python on Mac OS X -- Python on Mac OS 9 -- Python on RedHat Linux -- Python on Debian GNU/Linux -- Python Installation from Source -- The Interactive Shell -- Summary -- 2. Your First Python Program -- Diving in -- Declaring Functions -- Everything Is an Object -- Indenting Code -- Testing Modules: The if name Trick -- 3. Native Datatypes -- Introducing Dictionaries -- Introducing Lists -- Introducing Tuples -- Declaring variables -- Formatting Strings -- Mapping Lists -- Joining Lists and Splitting Strings -- Summary -- 4. The Power Of Introspection -- Diving In -- Using Optional and Named Arguments -- Using type, str, dir, and Other Built-In Functions -- Getting Object References With getattr -- Filtering Lists -- Understanding the Peculiar Nature of and and or -- Using lambda Functions -- Putting It All Together -- Summary -- 5. Objects and Object-Orientation -- Diving In -- Importing Modules Using from module import -- Defining Classes -- Instantiating Classes -- Exploring UserDict: A Wrapper Class -- Using Special Class Methods -- Introducing Class Attributes -- Using Private Functions -- Summary -- 6. Exceptions and File Handling -- Handling Exceptions -- Working with File Objects -- Iterating with for Loops -- Using sys.modules -- Putting It All Together -- Summary -- 7. Regular Expressions -- Diving In -- Case Study: Street Addresses -- Case Study: Roman Numerals -- Verbose Regular Expressions -- Case study: Parsing Phone Numbers -- Summary -- 8. HTML Processing -- Diving in -- Introducing Python's sgmllib.py -- Extracting data from HTML documents -- Understanding locals and globals -- Using Dictionary-based string formatting -- Quoting attribute values -- Parsing HTML One Tag at a Time -- Putting it all together -- Summary -- 9. XML Processing -- Diving in -- Importing Python Packages -- Parsing XML -- Dealing with Unicode -- Searching for XML elements -- Accessing XML element attributes -- Summary -- 10. Scripts and Streams -- Abstracting input sources -- Standard input, output, and error -- Introducing some XML processing techniques -- Handling command-line arguments -- Putting it all together -- Summary -- 11. HTTP Web Services -- Diving in -- How not to fetch data over HTTP -- Supporting HTTP features -- Debugging HTTP Web Services -- Setting the User-Agent -- Handling Last-Modified and Etag -- Handling redirects -- Handling compressed data -- Putting it all together -- Summary -- 12. SOAP Web Services -- Diving In -- Installing the SOAP Libraries -- Taking Your First Steps with SOAP -- Introducing WSDL -- Searching Google -- Troubleshooting SOAP Web Services -- Summary -- 13. Unit Testing -- Diving in -- Introducing the test suit -- Constructing testing cases -- Summary -- 14. Test-First Programming -- Diving in (Stage 1) -- Converting Roman Numerals, stage 2 -- Converting Roman Numerals, stage 3 -- Converting Roman Numerals, stage 4 -- Converting Roman Numerals, stage 5 -- Summary -- 15. Refactoring -- Diving In -- Handling changing requirements -- Refactoring for performance -- Postscript -- Summary -- 16. Functional Programming -- Diving in -- Finding the path -- Filtering lists revisited -- Mapping lists revisited -- Data-centric programming -- Dynamically importing modules -- Putting it all together -- Summary -- 17. Dynamic functions -- Diving in -- Pluralizing Nouns, stage 1 -- Pluralizing Nouns, stage 2 -- Pluralizing Nouns, stage 3 -- Pluralizing Nouns, stage 4 -- Pluralizing Nouns, stage 5 -- Pluralizing Nouns, stage 6 -- Summary -- 18. Performance Tuning -- Diving in -- Using the timeit Module -- Optimizing Regular Expressions -- Optimizing Dictionary Lookups -- Optimizing List Operations -- Optimizing String Manipulation -- Summary -- Appendix A. Python License -- Appendiz B. GNU Free Documentation License -- Summary 
650 4 |a LENGUAJES DE PROGRAMACIÓN  |9 42697 
650 4 |a PYTHON  |9 46724 
653 |a Python 2 
942 |c BK 
952 |0 0  |1 0  |4 0  |6 D3PYT_PIL  |7 0  |9 82027  |a DIF  |b DIF  |d 2025-03-11  |i DIF-04729  |l 4  |m 7  |o D.3.PYT PIL   |p DIF-04729  |q 2025-05-16  |r 2025-03-13 13:00:15  |s 2025-03-13  |w 2025-03-11  |y BK 
999 |c 56642  |d 56642