Page MenuHomePhorge

csv_to_excelCSV.py
No OneTemporary

Size
498 B
Referenced Files
None
Subscribers
None

csv_to_excelCSV.py

#!/usr/bin/env python3
import os
from os import listdir
from os.path import isfile, join
inputPath = "./splitted_data/values_20200325_1312_1/"
inputFile = "out.csv"
outputFileName = "out_excel.csv"
with open(inputPath + "/" + inputFile, 'r') as file:
file_content = file.readlines()
file_content = [f.replace(',', ';') for f in file_content]
file_content = [f.replace('.', ',') for f in file_content]
with open(inputPath + "/" + outputFileName, 'w') as file:
file.writelines(file_content)

File Metadata

Mime Type
text/x-script.python
Expires
Sun, Mar 1, 9:38 PM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
285813
Default Alt Text
csv_to_excelCSV.py (498 B)

Event Timeline