I'm for help.
How to create 10 copies of a file in Python? My code does not work:
a=open("D:\\python21\\long.txt","r") b=open("D:\\python21\\str(i).txt","w") for i in range(11): b.write(a.read()) a.close() b.close()
I'm for help.
How to create 10 copies of a file in Python? My code does not work:
a=open("D:\\python21\\long.txt","r") b=open("D:\\python21\\str(i).txt","w") for i in range(11): b.write(a.read()) a.close() b.close()
It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:
Source: https://ru.stackoverflow.com/questions/973186/
All Articles