Created
July 7, 2023 17:57
-
-
Save edsu/af3af57da3dd5ba66c576db7d3f603b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
for n in range(0,1002): | |
with open("files/file-{:04n}.txt".format(n), "w") as fh: | |
fh.write(str(n)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment