> I have found how....
>
> <dtml-in "_.string.split(test_file.read(),'\n')">
> <dtml-var sequence-item>
> </dtml-in>

That might get quite slow for really big files.

If you're using 2.3b1, you could probably do better with a Python Script to
play with the file in place.

IIUC, test_file above, and REQUEST['test_file'], should be the same thing
and can both be played with like normal python file objects.

That might be a more efficient way to do what you want if you're actually
changing lines, but I may be misunderstanding, and FileUpload objects may
not play like file objects either...

...it's late here, sorry ;-)

Chris


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to