Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
octal encoding
#5
(Dec-04-2017, 09:43 AM)wavic Wrote: '\007'

that's the implicit one.  i'm asking about the explicit one where you specify that it is octal.  and i am asking about what string literals accept, not numeric literals.

i thought string literals would accept explicit octal sequences so i included them in my conversion function.  i guess i am wrong.  i was too confident to RTFM or just test it myself.
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
octal encoding - by Skaperen - Dec-04-2017, 09:01 AM
RE: octal encoding - by wavic - Dec-04-2017, 09:43 AM
RE: octal encoding - by Skaperen - Dec-06-2017, 02:53 AM
RE: octal encoding - by DeaD_EyE - Dec-04-2017, 11:18 AM
RE: octal encoding - by wavic - Dec-04-2017, 12:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  regex octal replace chaz_sliger 1 2,897 Sep-06-2018, 01:21 AM
Last Post: scidam
  octal instead of hex Skaperen 4 3,869 Jun-06-2017, 02:00 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