Re: file existence checking

2006-02-15 Thread Fredrik Lundh
"john peter" <[EMAIL PROTECTED]> wrote: > 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? it's not like opening a file is a very expensive or dangerous operation,

file existence checking

2006-02-15 Thread john peter
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