file existence checking

john peter neuzhoundxx at yahoo.com
Wed Feb 15 09:33:34 EST 2006


does anyone have a suggestion on simplest way to check for the existence of a file
  within the same directory where a python script was started without really opening it?
  i've seen some people use this as a mechanism for informing an application of
  an external event, signalling it for example to disable some functionalities,
  or perhaps a thread. Is such an approach a good one? Are there other "simple" approaches that  might be better (if so, why is it/are they better?)

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060215/e957e4d7/attachment.html>


More information about the Python-list mailing list