[Tutor] extract specific column

Anna Olofsson olofsson_anna585 at hotmail.com
Wed Oct 12 21:28:12 CEST 2011


I'm a beginner at python and I'm trying to extract a specific column from a txt file ( see attached file). 

In the attached file I want to extract the entire column 

	pph2_prob (i.e. column 16). But I want to get all the values from that column without the headline  


How do I accomplish that? 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111012/3c7b45b3/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Q8WZ55.pph2.txt
URL: <http://mail.python.org/pipermail/tutor/attachments/20111012/3c7b45b3/attachment.txt>

More information about the Tutor mailing list