How to Write Files in Python
Published in
2 min readJul 14, 2022
Python like many other languages has built-in functions to write files, to write a file we need first to open a file.
>>> with open("t1.txt") as…
Python like many other languages has built-in functions to write files, to write a file we need first to open a file.
>>> with open("t1.txt") as…
DevOps engineer, loves Linux, Python, cats and Rock music