Simple Parsing Script

Posted by: barbara | Date: Apr 04, 2009 | Category: python

A simple script to parse plain text files (in this case pipe-delimited), then write the rows to a table. Take a look at the sample text file - the fields in the first row should match the column headers.

CUSTOMERORDERS_20090401.txt

 #!/usr/bin/python # usage: ./parser.py CUSTOMERORDERS_20090401.txt # don't forget ...

Read More