|You are here: Home > Dive Into Python > Further reading||<< >>|
Python from novice to pro
- 2.3. Documenting Functions
- 2.4.2. What's an Object?
- 2.5. Indenting Code
- 2.6. Testing Modules
- 3.1.3. Deleting Items From Dictionaries
- How to Think Like a Computer Scientist teaches about dictionaries and shows how to use dictionaries to model sparse matrices.
- Python Knowledge Base has a lot of example code using dictionaries.
- Python Cookbook discusses how to sort the values of a dictionary by key.
- Python Library Reference summarizes all the dictionary methods.
- 3.2.5. Using List Operators
- How to Think Like a Computer Scientist teaches about lists and makes an important point about passing lists as function arguments.
- Python Tutorial shows how to use lists as stacks and queues.
- Python Knowledge Base answers common questions about lists and has a lot of example code using lists.
- Python Library Reference summarizes all the list methods.
- 3.3. Introducing Tuples
- 3.4.2. Assigning Multiple Values at Once
- 3.5. Formatting Strings
- 3.6. Mapping Lists
- 3.7. Joining Lists and Splitting Strings
- Python Knowledge Base answers common questions about strings and has a lot of example code using strings.
- Python Library Reference summarizes all the string methods.
- Python Library Reference documents the string module.
- The Whole Python FAQ explains why join is a string method instead of a list method.
- 4.2. Using Optional and Named Arguments
- 4.3.3. Built-In Functions
- 4.5. Filtering Lists
- 4.6.1. Using the and-or Trick
- 4.7.1. Real-World lambda Functions
- Python Knowledge Base discusses using lambda to call functions indirectly.
- Python Tutorial shows how to access outside variables from inside a lambda function. (PEP 227 explains how this will change in future versions of Python.)
- The Whole Python FAQ has examples of obfuscated one-liners using lambda.
- 5.2. Importing Modules Using from module import
- 5.3.2. Knowing When to Use self and __init__
- 5.4.1. Garbage Collection
- 5.5. Exploring UserDict: A Wrapper Class
- 5.7. Advanced Special Class Methods
- 5.9. Private Functions
- 6.1.1. Using Exceptions For Other Purposes
- Python Tutorial discusses defining and raising your own exceptions, and handling multiple exceptions at once.
- Python Library Reference summarizes all the built-in exceptions.
- Python Library Reference documents the getpass module.
- Python Library Reference documents the traceback module, which provides low-level access to exception attributes after an exception is raised.
- Python Reference Manual discusses the inner workings of the try...except block.
- 6.2.4. Writing to Files
- Python Tutorial discusses reading and writing files, including how to read a file one line at a time into a list.
- eff-bot discusses efficiency and performance of various ways of reading a file.
- Python Knowledge Base answers common questions about files.
- Python Library Reference summarizes all the file object methods.
- 6.4. Using sys.modules
- 6.5. Working with Directories
- 7.6. Case study: Parsing Phone Numbers
- 8.4. Introducing BaseHTMLProcessor.py
- 8.9. Putting it all together
- You thought I was kidding about the server-side scripting idea. So did I, until I found this web-based dialectizer. Unfortunately, source code does not appear to be available.
- 9.4. Unicode
- Unicode.org is the home page of the unicode standard, including a brief technical introduction.
- Unicode Tutorial has some more examples of how to use Python's unicode functions, including how to force Python to coerce unicode into ASCII even when it doesn't really want to.
- PEP 263 goes into more detail about how and when to define a character encoding in your .py files.
- 11.1. Diving in
- Paul Prescod believes that pure HTTP web services are the future of the Internet.
- 12.1. Diving In
- 12.8. Troubleshooting SOAP Web Services
- New developments for SOAPpy steps through trying to connect to another SOAP service that doesn't quite work as advertised.
- 13.1. Introduction to Roman numerals
- 13.3. Introducing romantest.py
- The PyUnit home page has an in-depth discussion of using the unittest framework, including advanced features not covered in this chapter.
- The PyUnit FAQ explains why test cases are stored separately from the code they test.
- Python Library Reference summarizes the unittest module.
- ExtremeProgramming.org discusses why you should write unit tests.
- The Portland Pattern Repository has an ongoing discussion of unit tests, including a standard definition, why you should code unit tests first, and several in-depth case studies.
- 15.5. Summary
- 17.7. plural.py, stage 6
A 5-minute review >>