How to get rid the new line
William Park
opengeometry at NOSPAM.yahoo.ca
Thu Jun 27 14:30:15 EDT 2002
SiverFish <occeanlinux at linuxmail.org> wrote:
> Anyone tell me how to skip the empty line when you read through the file
> and copy the information in to the list(no empty line )
A bit off topic... but this question just cries out for
sed 's/^$/d'
--
William Park, Open Geometry Consulting, <opengeometry at yahoo.ca>
8-CPU Cluster, Hosting, NAS, Linux, LaTeX, python, vim, mutt, tin
More information about the Python-list
mailing list