Re: chdir()

2007-05-08 Thread HMS Surprise
On May 8, 3:06 pm, Carsten Haese <[EMAIL PROTECTED]> wrote: > On Tue, 2007-05-08 at 12:54 -0700, HMS Surprise wrote: > > Tried executing os.chdir("c:\twill") from a python Tk shell and got > > the error message: > > > WindowsError: [Error 123] The filename, directory name, or volume > > label synta

Re: chdir()

2007-05-08 Thread Carsten Haese
On Tue, 2007-05-08 at 12:54 -0700, HMS Surprise wrote: > Tried executing os.chdir("c:\twill") from a python Tk shell and got > the error message: > > WindowsError: [Error 123] The filename, directory name, or volume > label syntax is incorrect: 'c:\twill'. Backslash-t is a tab character, so you'r

Re: chdir()

2007-05-08 Thread Basilisk96
On May 8, 3:54 pm, HMS Surprise <[EMAIL PROTECTED]> wrote: > Tried executing os.chdir("c:\twill") from a python Tk shell and got > the error message: > > WindowsError: [Error 123] The filename, directory name, or volume > label syntax is incorrect: 'c:\twill'. > > I have the directory exists as I c

Re: chdir()

2007-05-08 Thread Jarek Zgoda
HMS Surprise napisaƂ(a): > Tried executing os.chdir("c:\twill") from a python Tk shell and got > the error message: > > WindowsError: [Error 123] The filename, directory name, or volume > label syntax is incorrect: 'c:\twill'. > > I have the directory exists as I copied the name from the explorer

Re: chdir()

2007-05-08 Thread Necmettin Begiter
On Tuesday 08 May 2007 22:54:39 HMS Surprise wrote: > WindowsError: [Error 123] The filename, directory name, or volume > label syntax is incorrect: 'c:\twill'. > > What is wrong with the syntax? Try 'c:\\twill' because the '\' character is the escape character. Eg: \n is new-line (aka crlf) \t is