Learning Python
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 te...
Main Author: | |
---|---|
Other Authors: | |
Format: | eBook |
Language: | Inglés |
Published: |
Sebastopol, California :
O'Reilly
2004.
|
Edition: | 2nd ed |
Subjects: | |
See on Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627088906719 |
Table of Contents:
- Learning Python, 2nd Edition; Prerequisites; This Book&s Scope; This Book&s Style and Structure; Outer Layers; Appendixes; Book Updates; Font Conventions; About the Programs in This Book; Using Code Examples; How to Contact Us; Acknowledgments; David Also Says:; I. Getting Started; 1.1.2. Developer Productivity; 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.5.2. GUIs; 1.5.3. Internet Scripting; 1.5.4. Component Integration; 1.5.5. Database Programming; 1.5.6. Rapid Prototyping
- 1.5.7. Numeric Programming1.5.8. Gaming, Images, AI, XML, and More; 1.6. What Are Python&s Technical Strengths?; 1.6.2. It&s Free; 1.6.3. It&s Portable; 1.6.4. It&s Powerful; 1.6.5. It&s Mixable; 1.6.6. It&s Easy to Use; 1.6.7. It&s Easy to Learn; 1.7. How Does Python Stack Up to Language X?; 2. How Python Runs Programs; 2.2. Program Execution; 2.2.2. Python&s View; 2.2.2.2. Python Virtual Machine (PVM); 2.2.2.3. Performance implications; 2.2.2.4. Development implications; 2.3. Execution Model Variations; 2.3.1.2. Jython; 2.3.1.3. Python.NET; 2.3.2. The Psyco Just-in-Time Compiler
- 2.3.3. Frozen Binaries2.3.4. Future Possibilities?; 3. How You Run Programs; 3.2. System Command Lines and Files; 3.2.2. Unix Executable Scripts (#!); 3.3. Clicking Windows File Icons; 3.3.2. The raw_input Trick; 3.3.3. Other Icon Click Limitations; 3.4. Module Imports and Reloads; 3.4.2. Import and Reload Usage Notes; 3.5. The IDLE User Interface; 3.5.2. Using IDLE; 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
- II. Types and Operations4.2. Why Use Built-in Types?; 4.3. Numbers; 4.3.2. Built-in Tools and Extensions; 4.4. Python Expression Operators; 4.4.2. Parentheses Group Subexpressions; 4.4.3. Mixed Types: Converted Up; 4.4.4. Preview: Operator Overloading; 4.5. Numbers in Action; 4.5.2. Numeric Representation; 4.5.3. Division: Classic, Floor, and True; 4.5.4. B itwise Operations; 4.5.5. L ong Integers; 4.5.6. Complex Numbers; 4.5.7. Hexadecimal and Octal Notation; 4.5.8. Other Numeric Tools; 4.6. The Dynamic Typing Interlude; 4.6.2. References and Changeable Objects
- 4.6.3. References and Garbage Collection5. Strings; 5.1.2. Escape Sequences Code Special Bytes; 5.1.3. Raw Strings Suppress Escapes; 5.1.4. Triple Quotes Code Multiline Block Strings; 5.1.5. Unicode Strings Encode Larger Character Sets; 5.2. Strings in Action; 5.2.2. Indexing and Slicing; 5.2.2.2. S licing (S[i:j]) extracts contiguous sections of a sequence; 5.2.3. String Conversion Tools; 5.2.4. C hanging Strings; 5.3. String Formatting; 5.4. String Methods; 5.4.2. String Method Examples: Parsing Text; 5.4.3. The Original Module; 5.5. General Type Categories
- 5.5.2. Mutable Types Can Be Changed in-Place