Probably gonna be flagged as repeat question but all of the other posts don't seem to fix my issue. I have two classes. They were both in the same file before and now that I am separating them I am getting a circular import error.
One class:
import pad
class Dock(object):
def someFunction(self):
pad.Pad(...)
The other:
import dock
class Pad(dock.Dock):
...
That is the extent of it. Those are the only calls. The names of the files are lowercase of versions of the class (class Pads is in file pads.py and class Dock in file dock.py). I say this because some people mentioned file names causing issues. I'm confused on how to get them both imported when they both call each other.
Thanks for any help, I know it is probably a dumb question but save my monitor please.