Python Forum
expressing an 8-bit ASCII code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
expressing an 8-bit ASCII code
#1
every possible unambiguous way people might want to express one of the 256 possible byte codes, where the first 128 are ASCII codes, i want to be able to support. probably the most well known example is \n which is the value 10, ASCII newline. i will be reviewing past code i have written to convert a stream of the expression to a stream of 8-bit bytes. it already supports raw printable characters except for \ and ^, 3 digit octal escape sequences for all 256 possible values, \0 not followed by a digit, common single character backslash sequences \a (7), \b (8), \t (9), \n (10), \v (11), \f (12), \r (13), 59 common single character carat sequences, 26 upper case letters, 26 lower case letters, and 7 special characters, and 4 special sequences to produce \ and ^.

are there any others that would be suggested?

my intent is to make this into its own module.
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
expressing an 8-bit ASCII code - by Skaperen - Jan-15-2020, 12:43 AM
RE: expressing an 8-bit ASCII code - by DeaD_EyE - Jan-15-2020, 09:01 AM
RE: expressing an 8-bit ASCII code - by Skaperen - Jan-16-2020, 01:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  expressing data in python Skaperen 7 4,050 Jan-07-2020, 02:59 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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