5 Jul
2002
5 Jul
'02
4:34 p.m.
On Friday 05 July 2002 11:48 am, Laurie Nason wrote:
I just did this with a file: my_file = split(file.data,'\r\n') the .data returns the contents of the file
hth
Laurie
BTW file.data is only the first chunk of the file's data (currently 64Kb in size). So the above will truncate a file to 64K. To get the entire contents of a file object, use: data = str(file) -Casey