Created
January 7, 2010 15:31
-
-
Save quandyfactory/271302 to your computer and use it in GitHub Desktop.
Creates an iterator of ascii characters from 32 (space) to 126 (tilde)
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
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