[Zope] Get file contents.

2000-10-29 Thread Jason C. Leach
hi, I pass a zope file object (just plane text) to an external method. The file consists of a list of lines of text. I'd like to extract those lines from the file and put 'em in a list. Can anyone help with the extraction method? Thanks, j. .. . Jason C. Leach ...

Re: [Zope] Get file contents.

2000-10-29 Thread Steve Spicklemire
Hi Jason, Here's an external method that I've used to populate a TinyTable from a comma separated text file. You might at least get some ideas about how to extract stuff from the file using this -steve -- # # ReadFile

Re: [Zope] Get file contents.

2000-10-29 Thread Jason C. Leach
hi, That's exactly what I'm hoping to do. But for my method, it does not know what read() is, or read_raw(); I get: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: read If I try you