0
How to modify the name of a text file without modifying it's content in Python?
Let's say my text file name is hello_123_date.txt. and I want to change it to hello_123_date_myname.txt. but I want to keep the content the same without modifying the content. How can I do that?
5 RĂ©ponses
+ 1
đđąđąđđš đđĄđđČđđ„ Thanks the link you sent works for me.
0
Tom Joney (TheCoder) I know how to write to a file. I want to modify the title only. The link you sent me shows how to write to a file but that is not what I am looking for.