Actually, r'c:\Windows\\' is equivalent to 'c:\\Windows\\\\', which is not what you want. Just use 'c:\\Windows\\' John wrote: > This just came up in one of the mailing lists I track. Python apparently > requires that last '\' to be escaped, even though you're using "Raw". > > So myPath = r'c:\Windows\\' *should* work, though I haven't tried it.