call class python to another class code example
Example: call a function from another class python
class A:
def method1(arg1, arg2):
# do code here
class B:
A.method1(1,2)
class A:
def method1(arg1, arg2):
# do code here
class B:
A.method1(1,2)