Hi,
I symlinked a pth file to the site-packages directory of my virtualenv. Then I want to obtain the realpath of this pth file from within it with python code.
But it seems the python code used in this file must only be one-line python code and it doesn't know the meaning of 'os.path.realpath(__file__)'
Any hints for this problem?
Regards
I symlinked a pth file to the site-packages directory of my virtualenv. Then I want to obtain the realpath of this pth file from within it with python code.
But it seems the python code used in this file must only be one-line python code and it doesn't know the meaning of 'os.path.realpath(__file__)'
Any hints for this problem?
Regards