[Zope] add LocalFS in python

Passin, Tom tpassin at mitretek.org
Fri Oct 17 11:45:16 EDT 2003

[ From: Michael]
> When I try the following python script the message 'TypeError:
> unsubscriptable object' appears.
> Python script
> container.manage_addProduct['LocalFS'].manage_addLocalFS('test
> ','test','c:\temp\test3')

Before anything else, you  need to escape the backslashes - 


Remember, you are writing a Python expression, and backslashes in
strings need to be escaped.


Tom P

More information about the Zope mailing list