How to get a list of printable characters from string constants in Python

1 Answer

0 votes
import string
  
print(string.printable)


 
'''
run:
 
0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
  
'''

 



answered Jul 29, 2019 by avibootz
...