portable way of locating an executable (like which)

Andrew Berg bahamutzero8825 at gmail.com
Thu Sep 20 22:57:14 EDT 2012


On 2012.09.20 21:31, Dave Angel wrote:
> I don't have a Windows machine set up right now, but I believe there are
> two more directories to search, besides the ones described in the PATH
> variable.
> 
> One is the current directory, and the other is the Windows directory
> (maybe also the xxx/system32 or something).
Those system directories are in the path by default.

-- 
CPython 3.3.0rc2 | Windows NT 6.1.7601.17835



More information about the Python-list mailing list