How do I iterate through the alphabet?
You can use string.ascii_lowercase which is simply a convenience string of lowercase letters, Python 2 Example: from string import ascii_lowercase for c in ascii_lowercase: # append to your url Python 3 Example: #!/usr/bin/env python3 # -*- coding: utf-8 -*- from string import ascii_lowercase as alc for i in alc: print(f”www.website.com/term/{i}”) # Result # www.website.com/term/a # … Read more