Message163520
> 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. |
|
Date |
User |
Action |
Args |
2012-06-23 02:25:42 | belopolsky | set | recipients:
+ belopolsky, tarek, brian.curtin, docs@python, tshepang, python-dev, hynek |
2012-06-23 02:25:42 | belopolsky | set | messageid: <1340418342.24.0.622326963272.issue15148@psf.upfronthosting.co.za> |
2012-06-23 02:25:41 | belopolsky | link | issue15148 messages |
2012-06-23 02:25:41 | belopolsky | create | |
|