Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
personal:portfolio:txt2csv [2008/08/11 14:18]
antonello
personal:portfolio:txt2csv [2009/04/20 16:58]
antonello
Line 3: Line 3:
 //A flat text to comma separated values converter// //A flat text to comma separated values converter//
  
-txt2csv.py is a small python script that allow you to convert a flat database file (a text file where fields have a fixed column number) to a csv file where fields are identified by a separator, usually ";".+txt2csv.py is a small python script to convert a flat database file (a text file where fields have a fixed column width) to a csv file (where fields are identified by a separator, usually ";").
 It is tested with files up to hundreds of megabyte, and it is relatively fast.\\ It is tested with files up to hundreds of megabyte, and it is relatively fast.\\
 {{:personal:portfolio:txt2csv.zip|download}} {{:personal:portfolio:txt2csv.zip|download}}
  
-To realize this conversion you need a second file containing the information on how to split your original file. This mask file will be in the form of: +To realize this conversion the script needs a second file including the information on how to split the original file. This "mask filewill be in the form of: 
-FIELD_NAME;FIELD_SIZE +FIELD_NAME;FIELD_SIZE (with one field for each row)
-(having one field for each row)+
  
-To run this software you need to have the python interpreter. If it is not already installed on your machine please download it from http://python.org.+To run this software you need the python interpreter. If it is not already installed on your machine please download it from http://python.org.
  
 txt2csv.py is Free Software, released under GNU General Public Licence, version 2. txt2csv.py is Free Software, released under GNU General Public Licence, version 2.
personal/portfolio/txt2csv.txt · Last modified: 2018/06/18 15:11 (external edit)
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0