author | date |
---|---|
Paolo Niccolò Giubelli <[email protected]> |
Last update on April 12, 2020 |
A simple python3 script to convert CSV files to XLSX
pip3 install -r requirements.txt
csv2xlsx.py [-h] [-d DELIMITER] csv_file
Arguments
Argument | Explaination |
---|---|
-h | Show usage info |
-d | Specify the CSV delimiter (default is ',') |
-csv_file | The csv file to convert |
This script will create a folder xlsx
into the directory containing the csv_file
and will put the xlsx inside it.
for f in *csv
do
./csv2xlsx.py $f
done