T
T
Timur Chernyaev2020-02-08 15:14:55
Python
Timur Chernyaev, 2020-02-08 15:14:55

Is it possible to replace punctuation marks in Python? If yes, how is it done?

Good day! I'm wondering if it's possible to change punctuation marks in csv files in Python? I need to change all commas in csv to tabs so that delimiter = '\t'. Is it possible to do this with csv module or some other? Or do you have to change everything manually?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2020-02-08
@ProgramistNoob

Standard csv
module Open and read with delimeter=',', and write to file with delimiter='\t'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question