Advertisement
here2share

# string_info.py

Sep 9th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. # string_info.py
  2.  
  3. import string
  4. help(string)
  5.  
  6. ascii_letters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
  7. ascii_lowercase = 'abcdefghijklmnopqrstuvwxyz'
  8. ascii_uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  9. digits = '0123456789'
  10. printable = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\]^_`{|}~'
  11. punctuation = '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'
  12. whitespace = '\t\n\x0b\x0c\r '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement