how to make a script for this case?

lummert _nospam_lummert at
Thu Aug 15 20:45:48 CEST 2002


read the file line by line with a loop
using regular expressions like "^a:(.*)", "^b:(.*)",
"^password:(.*)", "^e:(.*)".
u should be sure about the rules, your input file was
written with (e.g one newline -> new field, two
newlines -> new dataset).
save strings found with re's to an appropriate
sequence and write to output file with an
other loop using that sequence


More information about the Python-list mailing list