I am just starting to learn Python, but I have already run into some errors. I have made a file called pythontest.py with the following contents:
pythontest.py
You're supposed to import the names, i.e., either
import pythontest f= pythontest.Fridge()
or,
from pythontest import * f = Fridge()