Here is my python folder structure (it does not have any python package):
 folder/
    script1.py
    script2.py
script1 has:
class myclass(object):
    def __init__():
        print("in init")
    def showReport():
        print("in report only function")
script2 has:
from . import myclass
and when I run python -m folder.script2
I get /usr/bin/python: cannot import name myclass
How can I import this class so that I can call functions from this class on script2?
 
     
     
    