This python script converts CSV file into Excel sheet Usage : python3 csv_to_excel.py input_file sep output_file sheet_name
Python script that converts a CSV file to an Excel file. The script takes four command line arguments: the name of the input CSV file, the separator used in the CSV file, the name of the output Excel file, and the name of the sheet in the Excel file.
To use the script in Linux, open a terminal and navigate to the directory where the script is saved. Then, run the script with the following command:
python3 csv_to_excel.py input_file sep output_file sheet_name