Constant

StryPy comes with a number of standard constants along with some specialist ones.

They are:
  • UPPER - All uppercase letters

  • lower - All lowercase letters

  • letters - All letters (uppercase and lowercase)

  • digits - All number digits

  • hexdigits - All hexadecimal characters (0-9, a-f, A-F)

  • octdigits - All octal digits (0-7)

  • special - All special characters

  • whitespace - Whitespace characters

  • printable - All printable characters

Note

All of these constants are interchangeable with the ones included in the string built-in module although they may have different names.