
June 23, 2012
2:25 a.m.
Alexander Belopolsky <alexander.belopolsky@gmail.com> added the comment:
Alexander, can you explain the part about finding a file on PYTHONPATH?
I thought about something like this:
shutil.which('shutil.py', os.F_OK, ':'.join(sys.path)) '/Users/sasha/Work/python-hg/py3k/Lib/shutil.py'
but win32 code seems to assume a search for a command. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue15148> _______________________________________