Last active
January 13, 2019 21:01
-
-
Save erichoco/00ba04ec8df3062b9158c9522b454c4a 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
for i in range(10): | |
filename = 'table_{}.csv'.format(i) # or filename = 'table_%d.csv' % i | |
with open(filename, 'w') as file: | |
file.write('this is loop {}'.format(i)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment