May-20-2018, 12:57 AM
if you ever write any code that needs to work with individual ASCII control codes, then this one liner can help set up some variable names the same as ASCII control character name abbreviations, with the appropriate code value. making it not so long is an exercise left to the reader.
NUL,SOH,STX,ETX,EOT,ENQ,ACK,BEL,BS,TAB,NL,VTAB,FF,CR,SO,SI,DLE,DC1,DC2,DC3,DC4,NAK,SYN,ETB,CAN,EM,SUB,ESC,FS,GS,RS,US = range(32)