I have two Python files.
second.py:
class Exame:
def on(self):
# Some Code here
def tw(self):
# some code run
first.py:
from second.py import Exame
Exam.on()
In first.py
when I call on
method in second.py
file I get error "missing 1 required positional argument: 'self'"
how can I solve this problem?