Python: How do I create sequential file names?

后端 未结 3 1377
星月不相逢
星月不相逢 2020-12-06 08:11

I want my program to be able to write files in a sequential format, ie: file1.txt, file2.txt, file3.txt. It is only meant to write a single file upon execution of the code.

3条回答
提交回复
热议问题