Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

string module in python

import string

# string module constants
print(string.ascii_letters)
print(string.ascii_lowercase)
print(string.ascii_uppercase)
print(string.digits)
print(string.hexdigits)
print(string.whitespace)  # ' 	

x0bx0c'
print(string.punctuation)
Source by www.journaldev.com #
 
PREVIOUS NEXT
Tagged: #string #module #python
ADD COMMENT
Topic
Name
2+8 =