File call error message (double backslash)
sjmachin at lexicon.net
Wed Mar 9 02:21:11 CET 2005
> I am writing on an application, that is supposed to read a file into
> single string:
> My program though, when I run it, gives me an error, that the called
> file is non existent
> 'C:\ \Documents and Settings\ \Fred\ \My Documents\ \School\ \Bio'
> Is it normal that python adds the space and extra backslash? Because
> if I print the path of the called file before the open command, it
> normally prints it with only one backslash.
The space between the \ \ is NOT normal. Please post the exact (copy
and past!) text of the trace-back and error message.
More information about the Python-list