Bryan Rasmussen wrote:
> ... at one point in my program I check if a file exists using
>     if exists("c:\projects"):

You should not be using a backslash in non-raw-string source to
mean anything but "escape the next character."  The above should
either be written as:
     if exists(r"c:\projects"):
or:
     if exists("c:\\projects"):

I suspect you problem has to do with this difference, but perhaps not.
Give exact short code that actually demonstrates the problem.

--Scott David Daniels
[EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to