On Dec 28, 2010, at 12:24 PM, Aahz <[email protected]> wrote:

> Nope.  If you're doing that, just use os.path.exists() or isfile().
> Faster and safer.

I was hoping that I could detect it no matter where it was so advanced users 
could do symlinks or move it to their own folders or whatever which made me 
think of bash's which. You're right though, if I'm relegated to typing out the 
full path might as well use os.path.exists and allow the user to modify the 
path it looks in with a preference.
_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to