Alan Gauld tutorial at http://www.freenetpages.co.uk/hp/alan.gauld/ has
some examples in python that will solve this problem. Happy Pythoning

Ara




"There is something to be learned from a rainstorm. When meeting with a
sudden shower, you try not to get wet and run quickly along the road.
But doing such things as passing under the eaves of houses, you still
get wet. When you are resolved from the beginning, you will not be
perplexed, though you still get the same soaking." - Yamamoto Tsunetomo


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of kumar s
Sent: Monday, December 06, 2004 1:27 PM
To: [EMAIL PROTECTED]
Subject: [Tutor] Removing a row from a tab delimitted text


Dear group, 
 I have a file, with Name identifier followed by two
columns with numbers. 


Here is how my file looks:

Name=3492_at
Cell1=481 13 (The space between (481 and 13 is tab)
Cell1=481 13
Cell1=481 13
Name=1001_at
Cell1=481 13
Cell2=481 12
Cell1=481 13
Cell1=481 13
Cell2=481 12
Name=1002_at
Cell3=482 12
Cell1=481 13
Cell1=481 13
Cell2=481 12
Cell3=482 12
Cell4=482 13
Cell1=481 13

My question:

1. How can I remove the line where Name identfier
exists and get two columns of data. 

Thanks
kumar.


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250
_______________________________________________
Tutor maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/tutor


_______________________________________________
Tutor maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to