My folder structure is:
/mfolder/A/parent.py
/mfolder/A/test/child.py
I want to import parent.py file into child.py file. But I'm getting this error
ImportError: No module named test
(Note: I've set the PYTHONPATH up to /mfolder and have __init__.py
in test)
How to solve it??
Thanks in advance