Skip to content

Instantly share code, notes, and snippets.

@quandyfactory
Created January 7, 2010 15:31
Show Gist options
  • Save quandyfactory/271302 to your computer and use it in GitHub Desktop.
Save quandyfactory/271302 to your computer and use it in GitHub Desktop.
Creates an iterator of ascii characters from 32 (space) to 126 (tilde)
def iterchars():
"""
Creates an iterator of ascii characters from 32 (space) to 126 (tilde)
"""
for x in range(32, 127):
yield x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment