Skip to content

Instantly share code, notes, and snippets.

@ethe
Last active February 6, 2016 13:40
Show Gist options
  • Select an option

  • Save ethe/de25d7c9004fc59b0821 to your computer and use it in GitHub Desktop.

Select an option

Save ethe/de25d7c9004fc59b0821 to your computer and use it in GitHub Desktop.
def main():
key_list = ""
for i in xrange(10000000, 1000000000):
key_list = key_list + str(i) + "\n"
if len(key_list) > 10000:
with open("./passwd1.txt", "a+") as f:
f.write(key_list)
# del key_list
key_list = ""
print "done"
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment