This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, brian.curtin, docs@python, hynek, python-dev, tarek, tshepang
Date 2012-06-23.02:25:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340418342.24.0.622326963272.issue15148@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2012-06-23 02:25:42belopolskysetrecipients: + belopolsky, tarek, brian.curtin, docs@python, tshepang, python-dev, hynek
2012-06-23 02:25:42belopolskysetmessageid: <1340418342.24.0.622326963272.issue15148@psf.upfronthosting.co.za>
2012-06-23 02:25:41belopolskylinkissue15148 messages
2012-06-23 02:25:41belopolskycreate