Hi All,
I need your help for following issue-
I have a structured python project where there are 3 directories- A,B,C
Inside these directories there are python files-f1.py,f2.py,f3.py
folder A's f1.py file has some function which are from folder B's f2.py.
I have imported B's f2.py in f1.py file and it works in Pycharm IDE.
Now if I want to run f1.py file from a terminal(linux terminal) then it say there is no module named B.f2.py.
How can I define dependency to run my files from a terminal/cmd?
I set the PYTHONPATH and all working fine now.
I need your help for following issue-
I have a structured python project where there are 3 directories- A,B,C
Inside these directories there are python files-f1.py,f2.py,f3.py
folder A's f1.py file has some function which are from folder B's f2.py.
I have imported B's f2.py in f1.py file and it works in Pycharm IDE.
Now if I want to run f1.py file from a terminal(linux terminal) then it say there is no module named B.f2.py.
How can I define dependency to run my files from a terminal/cmd?
I set the PYTHONPATH and all working fine now.