A terminal script written in Python that reads Excel rows and export to a pipe-delimited csv file.
Developed using Visual Studio Code with Python extension.
- Source must be placed on the same directory as the python script
- To modify default filename, update
SRC_FILENAME
variable - First sheet name must be a month name (e.g. January)
- Year must be placed at
E3
cell (e.g. 2018) - Type of menu must be placed at
A
cell on any row (e.g. International) - Data rows are read from
A
toE
cells whereA
cell values must be numeric
$ python fromExcelToCSV.py
-
YYYYMMSRC_FILENAME.csv (e.g. 201804FOOD_MENU.csv)
-
YYYYMMDD_HHMMHH_fromExcelToCSV.py.log (e.g. 20180402_080012_fromExcelToCSV.py.log)