|
1 | | -# Things that are not in the tutorial yet |
| 1 | +# Stuff that will (hopefully) be added to this tutorial |
2 | 2 |
|
3 | | -- Reading and writing files. |
4 | | -- Exceptions. |
5 | | -- Custom classes part 2. Inheritance, multiple inheritance, diamond |
6 | | - diagrams, custom exceptions. |
| 3 | +This tutorial is not complete. It still needs: |
| 4 | + |
| 5 | +- Dictionaries and tuples (can be in the same thing since tuples |
| 6 | + are needed for dict keys) |
| 7 | +- Explain `for a, b in thing` somewhere |
| 8 | +- **More exercises and examples everywhere!** |
| 9 | +- reading and writing files |
| 10 | + - first of all: what are files, directories/folders and paths |
| 11 | + - print(..., file=thefile), not thefile.write(...) |
| 12 | + - show how to iterate over the file and .read() it |
| 13 | + - why .rstrip('\n') instead of .strip() |
| 14 | + - files remember their position, reading the same file object twice |
| 15 | +- modules |
| 16 | + - just files and folders, have a look at Python's lib directory |
| 17 | + - "batteries included" filosofy |
| 18 | + - briefly introduce some of the most commonly used standard library |
| 19 | + modules: |
| 20 | + - math |
| 21 | + - it's not a file, what is it? |
| 22 | + - sys |
| 23 | + - sys.exit() vs exit() |
| 24 | + - time |
| 25 | + - os, os.path, subprocess |
| 26 | + - random |
| 27 | + - webbrowser |
| 28 | + - explain even more briefly and link to documentation/tutorials: |
| 29 | + - configparser |
| 30 | + - textwrap |
| 31 | + - collections, itertools, functools |
| 32 | + - traceback |
| 33 | + - types |
| 34 | + - warnings |
| 35 | + - json |
| 36 | + - link to third party modules: |
| 37 | + - appdirs |
| 38 | + - requests |
| 39 | +- Exceptions |
| 40 | +- explain bool(x) and why it matters |
| 41 | +- classes part 2 |
| 42 | + - non-public `_variables` |
| 43 | + - singular inheritance, inheritance of built-in classes |
| 44 | + - using super |
| 45 | +- quick overview of some of the most useful built-in functions and classes |
| 46 | + - range |
| 47 | + - zip |
| 48 | + - classmethod and staticmethod |
| 49 | +- iterables and iterators: something most Python programmers need to be aware of |
| 50 | +- classes part 3: multiple inheritance |
| 51 | + - an advanced thing |
| 52 | + - built-in classes don't use it |
| 53 | + - diamond diagrams, why to use super() |
| 54 | +- last chapter: "What should I do now?" links to other resources |
| 55 | + - GUI programming tutorials |
| 56 | + - easygui |
| 57 | + - tkinter in effbot (warn the readers about star imports) |
| 58 | + - pyqt5 in zetcode |
| 59 | + - gtk+ 3 in readthedocs |
| 60 | + - a pygame tutorial |
| 61 | + - David Beazley's metaprogramming and other talks |
| 62 | + - a regex tutorial |
0 commit comments