On Feb 27, 9:16 am, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Tue, 27 Feb 2007 06:24:41 -0800, svata wrote:
...
> > import time
> > import os
>
> > dir = "C:\\Documents and Settings\\somepath\\"
>
> I believe that Windows will accept forward slashes as directory
> separators, so you can write that as:
>
> dir = "C:/Documents and Settings/somepath/"

Windows system calls treat / and \ interchangeably, but the command
prompt insists on backslashes.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to