1 option
Learning Python / Mark Lutz.
- Format:
- Book
- Author/Creator:
- Lutz, Mark.
- Language:
- English
- Subjects (All):
- Python (Computer program language).
- Scripting languages (Computer science).
- Physical Description:
- 1 online resource (752 p.)
- Edition:
- 3rd ed.
- Place of Publication:
- Beijing ; Sebastopol, California : O'Reilly, [2008]
- Language Note:
- English
- System Details:
- text file
- Summary:
- 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 thorou
- 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
- Notes:
- Description based upon print version of record.
- Description based on online resource; title from PDF (ebrary, viewed September 28, 2013).
- ISBN:
- 9780596516604
- 0596516606
- 9780596554491
- 0596554494
- OCLC:
- 609841293
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.