[Tutor] Removing files based upon time stamps

Alan Gauld alan.gauld at btinternet.com
Thu Jun 26 02:31:27 CEST 2008


"Lie Ryan" <lie.1296 at gmail.com> wrote

> You should do this instead:
> r'C:\nice\try'
> OR
> 'C:\\nice\\try'
>
> the first way is called raw string, the backslash lose its meaning
> the second way is by escaping the backslash.

Or just use forward slashes which work on *nix or windows...

'C:/nice/try'

HTH,

Alan G. 




More information about the Tutor mailing list