Python‎ > ‎string constants‎ > ‎

string.printable

http://www.adilwaseem.com/

Introduction
Return with all keyboard number, characters, and operational sign.

Syntax
string.printable

Parameters
None

Example
 >>> import string
>>> string.printable
'0123456789abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~ \t\n\r\x0b\x0c'
>>>

Comments