Python Forum
32 ASCII abbreviations as variables
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
32 ASCII abbreviations as variables
#1
32 ASCII abbreviations as variables assigned with their ASCII code values. this can help make code that uses ASCII control character codes more mnemonic and self documenting.
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)
you might want to split up that long line.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
32 ASCII abbreviations as variables - by Skaperen - Jul-07-2018, 01:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ASCII Art sepandhaghighi 0 2,557 Dec-07-2018, 03:55 PM
Last Post: sepandhaghighi

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020