+ 1

How to rename TXT file using python??

File handling

6th Aug 2021, 3:54 AM
Suraj
Suraj - avatar
2 odpowiedzi
+ 2
import os os.rename(oldName.txt , newName.txt)
6th Aug 2021, 4:00 AM
Prashanth Kumar
Prashanth Kumar - avatar
0
Prashanth Kumar thanks brother 😁
6th Aug 2021, 7:54 AM
Suraj
Suraj - avatar