I have a module called generalPy and i want to access the python files in that folder. So i import it:from generalPy import *
The specific one i want to access is called fractions.py. It has a class with the name: Fraction. I try to create an instance of the class:fract = Fraction()
.
Btw, it doesn't take any parameters. When i do this, i get an error:
NameError: name 'Fraction' is not defined
why cant i access that class when it is in the generalPy folder, and has been imported?