Skip to content

Instantly share code, notes, and snippets.

@NPS-ARCN-CAKN
Created June 25, 2015 22:34
Show Gist options
  • Save NPS-ARCN-CAKN/58257a13aa2050a3336c to your computer and use it in GitHub Desktop.
Save NPS-ARCN-CAKN/58257a13aa2050a3336c to your computer and use it in GitHub Desktop.
Change a filename every 10,000 iterations
for n in range(1,20010):
if not n % 10000:
filename = "ImportGPSPointsLog_" + str(n/10000) + ".sql"
print str(n) + ' ' + filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment