Skip to content

Instantly share code, notes, and snippets.

@martinusso
Created November 8, 2011 19:26
Show Gist options
  • Save martinusso/1348829 to your computer and use it in GitHub Desktop.
Save martinusso/1348829 to your computer and use it in GitHub Desktop.
Convert ASCII to Char in Python
'''
Convert ASCII to Char in Python
'''
chr(97) # return 'a'
ord('a') # return 97
# ...
chr(122) # return 'z'
ord('z') # return 122
@martinusso
Copy link
Author

Yes! I know it´s trifling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment