python to parse excel file csv format

Jay Jesus Amorin jay.amorin at gmail.com
Wed Dec 3 13:25:32 EST 2008


Hi all,

Can anyone please help me. i need to parse the content of my csv excel file
and run the unix command chown.

test.csv:

"/dev/trunk/admin/sql/ADBPOS_CMSI_NATIONALITY.syn",814
"/dev/trunk/bin/ADBPOSCMSDICED.ctl",405
"/dev/trunk/discoverer/ADBPOS_BUSINESS_AREA.eex",215


Please help me parse the csv file and run chown $csvfile_secondcolumn
$csvfile_firstcolumn.

Here's how i want to run it.

./parsecsv.py test.csv


Many thanks.


Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081204/c6ab199e/attachment-0001.html>


More information about the Python-list mailing list