Class super separated files

One class file with ‘class Parent’ and ‘class Child(Parent)’ on the child root folder works fine, but two separated class files (the one with ‘class Parent’ on the child folder and the other on the different child folder ‘class Child(Parent)’ do not work. How to solve it, while the main program is on the root folder. Is it clean enough?

One class file with ‘class Parent’ and ‘class Child(Parent)’ on the
child root folder works fine, but two separated class files (the one with
class Parent’ on the child folder and the other on the different
child folder ‘class Child(Parent)’ do not work. How to solve it, while the
main program is on the root folder. Is it clean enough?

The classes need to be able to “find” each other through imports.

Quote:

Python code in one module gains access to the code in another module by the
process of importing it.

Source:
https://docs.python.org/3/reference/import.html

Look at the sample file layouts there.