Peter Otten wrote:

> memfile = (s + "\n" for s in "1a|1b|1c|1d#2a|2b|2c|2d#3a|3b|3c
> 3d#".split("#") if s)

I just found out that you need not add "\n" to the line.

Peter
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to