Message163520
| 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. |
|