Learning Python

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 finis...

Full description

Bibliographic Details
Main Author: Lutz, Mark (-)
Format: eBook
Language:Inglés
Published: Beijing ; Sebastopol, California : O'Reilly [2008]
Edition:3rd ed
Subjects:
See on Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627070006719
Table of Contents:
  • Learning Python, 3rd Edition; This Edition&s Python Training Changes; This Edition&s Structural Changes; This Edition&s Scope Changes; About This Book; This Book&s Scope and Other Books; This Book&s Style and Structure; 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; I. Getting Started; Developer Productivity; Is Python a ""Scripting Language""?; OK, but What&s the Downside?; Who Uses Python Today?; What Can I Do with Python?; GUIs; Internet Scripting
  • Component IntegrationDatabase Programming; Rapid Prototyping; Numeric and Scientific Programming; Gaming, Images, AI, XML, Robots, and More; What Are Python&s Technical Strengths?; It&s Free; It&s Portable; It&s Powerful; It&s Mixable; It&s Easy to Use; It&s Easy to Learn; It&s Named After Monty Python; How Does Python Stack Up to Language X?; Chapter Summary; 2. How Python Runs Programs; Program Execution; Python&s View; The Python Virtual Machine (PVM); Performance implications; Development implications; Execution Model Variations; Jython; IronPython; Execution Optimization Tools
  • The Shedskin C++ translatorFrozen Binaries; Future Possibilities?; Chapter Summary; 3. How You Run Programs; System Command Lines and Files; Unix Executable Scripts (#!); Clicking File Icons; The raw_input Trick; Other Icon-Click Limitations; Module Imports and Reloads; import and reload Usage Notes; The IDLE User Interface; Using IDLE; Advanced IDLE Tools; Other IDEs; Embedding Calls; Frozen Binary Executables; Text Editor Launch Options; Other Launch Options; Future Possibilities?; Which Option Should I Use?; Chapter Summary; BRAIN BUILDER; II. Types and Operations; Numbers; Strings
  • ImmutabilityType-Specific Methods; Getting Help; Other Ways to Code Strings; Pattern Matching; Lists; Type-Specific Operations; Bounds Checking; Nesting; List Comprehensions; Dictionaries; Nesting Revisited; Sorting Keys: for Loops; Iteration and Optimization; Missing Keys: if Tests; Tuples; Files; Other Core Types; User-Defined Classes; And Everything Else; Chapter Summary; 5. Numbers; Built-in Numeric Tools and Extensions; Python Expression Operators; Parentheses Group Subexpressions; Mixed Types Are Converted Up; Preview: Operator Overloading; Numbers in Action; Numeric Display Formats
  • Division: Classic, Floor, and TrueBitwise Operations; Long Integers; Complex Numbers; Hexadecimal and Octal Notation; Other Built-in Numeric Tools; Other Numeric Types; Sets; Booleans; Third-Party Extensions; Chapter Summary; 6. The Dynamic Typing Interlude; Types Live with Objects, Not Variables; Objects Are Garbage-Collected; Shared References; Shared References and Equality; Dynamic Typing Is Everywhere; Chapter Summary; 7. ofsmallStrings; Escape Sequences Represent Special Bytes; Raw Strings Suppress Escapes; Triple Quotes Code Multiline Block Strings
  • Unicode Strings Encode Larger Character Sets