I have a directory that stores all the .py files.
bin/ main.py user.py # where class User resides dir.py # where class Dir resides
Python3
use
from .user import User inside dir.py file
and
use from class.dir import Dir inside main.py or from class.usr import User inside main.py
like so