3 ms·
Python can give you all the characters via the constants on the string stdlib: https://docs.python.org/3/library/string.html?highlight=string#string-constants h
by Twirrim 3y ago
Python can give you all the characters via the constants on the string stdlib: https://docs.python.org/3/library/string.html?highlight=string#string-constants https://docs.python.org/3/library/string.html?highlight=stri..., e.g.:
Python 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import string
>>> string.printable
'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~ \t\n\r\x0b\x0c'