C
Csaba Henk
Hello!
I use Python 2.2.2 on Linux. I met the following issue:
Say I have the module mymod and the script myprog.py in /mydir.
myprog.py imports mymod. If I create a symlink
/foo/myprog2.py -> /mydir/myprog.py, everything works as it should,
invoking any of /foo/myprog2.py /mydir/myprog.py work in the same way. But
if I create another symlink myprog3.py -> myprog2.py, and then I invoke
myprog3.py, I get compliances that mymod is not found.
Is it a bug or policy?
I use Python 2.2.2 on Linux. I met the following issue:
Say I have the module mymod and the script myprog.py in /mydir.
myprog.py imports mymod. If I create a symlink
/foo/myprog2.py -> /mydir/myprog.py, everything works as it should,
invoking any of /foo/myprog2.py /mydir/myprog.py work in the same way. But
if I create another symlink myprog3.py -> myprog2.py, and then I invoke
myprog3.py, I get compliances that mymod is not found.
Is it a bug or policy?