[Zope] add LocalFS in python

Passin, Tom tpassin at mitretek.org
Fri Oct 17 12:32:18 EDT 2003


[ Dennis Allison]
> 
> Tom, I don't think the backslashes need to be escaped here.
> 

Really?  I've never had occasion to try it ... so I just did. Here is
the Python script -

str = 'c:\this\is\a\test'
return str

When called via dtml-var, each character after a backslash was missing
or otherwised changed.  I had to double the backslashes to get the
string returned correctly.

Cheers,

Tom P




More information about the Zope mailing list