RE: [Zope] add LocalFS in python
17 Oct
2003
17 Oct
'03
4:44 p.m.
[Dennis Allison]
Argh! Right you are -- the damn'd gratutious Microscoft change to the directory delimiter. I don't do Windows in general--and when I do I use r'c:\this\is\a\test' which does the right thing.
Yes, that's what I do too. For those who are not that familiar with Python, the "r" prefix indicates that the string is "raw" - characters have their normal meaning, so that a backslash is not special. Using os.path.join would the preferred way to build up paths, except that it is restricted in Python Scripts. Cheers, Tom P
8207
Age (days ago)
8207
Last active (days ago)
0 comments
1 participants
participants (1)
-
Passin, Tom