On Fri, May 08, 2009 at 09:52:40AM -0700, Brett Cannon wrote: > Thanks for the help to everyone. I ended up simply taking __file__, making > it all uppercase (or lowercase if it is already uppercase) and then doing > os.path.exists() on the modified name. Seems to work. What if __file__ is on a different filesystem with different rules (consider NFS, SMB/CIFS, etc.)? Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4