Hello,
I am an experienced programmer in OO langauges such as C++, C#, Java... etc.
The problem I have is that I have written a class, and when I try to instantiate that class from another object, the compiler says that it cannot find it at the Import stage. From previouse experience with other languages, as long as the class file is in the same directory it can find it, is python different, do I have to stick the class file somewhere else?
Thank you in advance.
class MyClass1:
aVariable = 1
import MyClass1:
class MyClass2:
anObject = new MyClass1()