Python Forum
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
octal instead of hex
#2
Maybe this?

oct(x)¶
Convert an integer number to an octal string. The result is a valid Python expression. If x is not a Python int object, it has to define an __index__() method that returns an integer.
Reply


Messages In This Thread
octal instead of hex - by Skaperen - Jun-05-2017, 03:25 AM
RE: octal instead of hex - by rrashkin - Jun-05-2017, 01:30 PM
RE: octal instead of hex - by Larz60+ - Jun-05-2017, 04:18 PM
RE: octal instead of hex - by wavic - Jun-05-2017, 08:00 PM
RE: octal instead of hex - by Skaperen - Jun-06-2017, 02:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  regex octal replace chaz_sliger 1 2,919 Sep-06-2018, 01:21 AM
Last Post: scidam
  octal encoding Skaperen 4 4,013 Dec-06-2017, 02:53 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