5 Jan
2000
5 Jan
'00
6:30 p.m.
Hi there,
This Zope keeps baffling me ... now how do I simply read the contents of a File-object?
fileObject.data or str(fileObject)
Referencing a file object by name from python will not return it's contents, it will return the object. The object does not, nor should it, act or look like a string, which is what re.split expects.
-Michel
Darn, looks like I have been programming in Java too much, with its handy toString() methods ;) I prefer Zope over that crappy JSP anytime anyway.... Greetz, RS