Re: backslash plague: paths containing "\a" somewhere

2005-11-24 Thread Fredrik Lundh
"tim" <[EMAIL PROTECTED]> wrote: > trying to work with a directory in windows, that has "\a" in the full > pathname > > this works: > > >>> c = string.replace('c:\content\ce\cw\cvd', '\\', '\\') > >>> c > 'c:\\content\\ce\\cw\\cvd' > > this doesn't: > > >>> c = string.replace('c:\content\a\a\av

Re: backslash plague: paths containing "\a" somewhere

2005-11-24 Thread casevh
tim wrote: > trying to work with a directory in windows, that has "\a" in the full > pathname > > this works: > > >>> c = string.replace('c:\content\ce\cw\cvd', '\\', '\\') > >>> c > 'c:\\content\\ce\\cw\\cvd' > > this doesn't: > > >>> c = string.replace('c:\content\a\a\avd', '\\', '\\') > >>>

backslash plague: paths containing "\a" somewhere

2005-11-24 Thread tim
trying to work with a directory in windows, that has "\a" in the full pathname this works: >>> c = string.replace('c:\content\ce\cw\cvd', '\\', '\\') >>> c 'c:\\content\\ce\\cw\\cvd' this doesn't: >>> c = string.replace('c:\content\a\a\avd', '\\', '\\') >>> c 'c:\\content\x07\x07\x07vd' s