[Tutor] extracting a column from many files

susana moreno colomer susana_87 at hotmail.com
Fri Jul 13 11:20:33 CEST 2012



 



From: susana_87 at hotmail.com
To: tutor at python.org
Date: Thu, 12 Jul 2012 17:45:31 +0200
Subject: [Tutor] extracting a column from many files




Hi!
 
I want to extract from certain kind of files  column number 5 and 6. I want to extract acolumns number 5 to one file, and anumber6 to another file. 
I was following this example http://mail.python.org/pipermail/tutor/2009-February/067400.html , and under my understanding I created my own code wich gives me the following errors:
 


This code gives me 2 files:                ro with 2 lines
                bf empty
 
I attached my code, with two options (though I was trying wich much more)
Could be awesome If I extrace them in an excel file, Any suggestion????
 
Many thanks!!!
Susana

_______________________________________________ Tutor maillist - Tutor at python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120713/f29f1769/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: multifiles.txt
URL: <http://mail.python.org/pipermail/tutor/attachments/20120713/f29f1769/attachment.txt>


More information about the Tutor mailing list