I have two classes in the same folder; filename
- Filename: twisted, class name : Root,method :def render_GET(self, request):
- Filename: ladpConnector, class name:MyClass, method : getMachines(self)
I want to call getMachines from the first file, inside Root class.
I tried following options;
MyClass().getMachines()
from ldapConnector import Myclass
MyClass().getMachines()
All gives issues, undefined method/undefined variable class Myclass etc..
What is teh right way to call that method?
from ldapConnector import Myclassclass name not is same case(MyClass)