[Zope] Re: Read the contents of a File object

THerp@apriori.de THerp@apriori.de
Tue, 27 May 2003 17:23:51 +0200


Hi, everyone,

> I'd like to read lines from a File object to do a database import.

After a lot of struggling (trying index_html and document_src and...) a=
nd
finally posting the question I managed myself meanwhile: The data attri=
bute
of the file object gives me its content.

Cheers,

Tobias
--
(sorry for any unfriendly footer added automatically... please ignore i=
t!)


Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrt=FCmlich erhalten haben, informieren Sie bitte
sofort den Absender und vernichten Sie diese Mail. Das un-
erlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail
ist nicht gestattet.

This e-mail may contain confidential and/or privileged
information. If you are not the intended recipient (or have
received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorised copying,
disclosure or distribution of the material in this e-mail is
strictly forbidden.=