You are now at the end of this tutorial. This means that you're almost ready to do something fun with Python. This page contains a bunch of links to other useful and fun Python resources.
Sometimes you'll come across things that I haven't shown in this tutorial. Here's a table of things you'll probably come across:
These are actually sets,
not dictionaries. However, {}
is a dictionary.
The yield keyword is a way to create generators
What you see | What it is |
---|---|
a dictionary without : |
[a set] |
yield stuff | |
import stuff as thing |
imports stuff and sets the module to a thing variable |
from stuff import thing |
about the same as import stuff and after that |
from stuff import * |
imports everything |
If you have trouble with this tutorial, please tell me about it and I'll make this tutorial better, or ask for help online. If you like this tutorial, please give it a star.
You may use this tutorial freely at your own risk. See LICENSE.