Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #39242

Re: IOerror : need urgent help

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: IOerror : need urgent help
Date 2013-02-19 16:11 +0000
References <CAFqGZREMOm4YSntzwie8o=RmusdV8KzrggY0wK8w4vCXWuwmBw@mail.gmail.com> <CAJTfVPzP1=+Fr4hBjnoe6PdPxoik3jBdmCyxvv2jWFJteqYyrQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2040.1361290150.2939.python-list@python.org> (permalink)

Show all headers | View raw


On 19/02/2013 15:40, Thomas Calmant wrote:
> hi
>
> It seems you forgot to escape the escape character in the file names ('\'):
> "C:\Users\inshu.chauhan\Desktop\test.arff"
> => r"C:\Users\inshu.chauhan\Desktop\test.arff"
> or
> => "C:\\Users\\inshu.chauhan\\Desktop\\test.arff"
>
> ++
> Thomas
>

Yuck :)

-- 
Cheers.

Mark Lawrence

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: IOerror : need urgent help Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-02-19 16:11 +0000

csiph-web