On Tue, Jan 18, 2011 at 5:39 PM, Harish S <harishis...@gmail.com> wrote:

>
> Hello,
>   I am new to python. I have a doubt.
>   How will I open a file which is placed in a different directory (other
> than the current working directory)?
>   Wen I try to open the file using the command "file =
> open("d:\desktop\....")", it says :
>
>   IOError: [Errno 22] invalid mode <'r'> or filename: '......'
>
> Can you please specify the reason for this?
>
> Regards,
> Harish
>
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to