Page 410 - Beginning Programming with Pyth - John Paul Mueller
P. 410
You do have some flexibility in using the online documentation. Two drop-down list boxes appear in the upper-left corner for the documentation page. The first lets you choose your preferred language (as long as it's English, French, or Japanese, as of this writing). The second provides access to documentation for earlier versions of Python, including version 2.7.
Using the LearnPython.org Tutorial
Many tutorials are available for Python and many of them do a great job, but they’re all lacking a special feature that you find when using the LearnPython.org tutorial at http://www.learnpython.org/: interactivity. Instead of just reading about a Python feature, you read it and then try it yourself using the interactive feature of the site.
You may have already worked through all the material in the simple tutorials in this book. However, you likely haven’t worked through the advanced tutorials at LearnPython.org yet. These tutorials present the following topics:
Generators: Specialized functions that return iterators.
List comprehensions: A method to generate new lists based on existing
lists.
Multiple function arguments: An extension of the methods described
in the “Using methods with variable argument lists” in Chapter 15. Regular expressions: Wildcard setups used to match patterns of
characters, such as telephone numbers.
Exception handling: An extension of the methods described in Chapter
10.
Sets: Demonstrates a special kind of list that never contains duplicate
entries.
Serialization: Shows how to use a data storage methodology called JavaScript Object Notation (JSON).
Partial functions: A technique for creating specialized versions of