Apr-12-2017, 04:21 AM
i am looking for code that does what ord() does, given a character, returns the integer value of that character, ...except... the same exact code will do the same in python3 ...and... will also do the same for byte character in python3.
or:
i am looking for code to convert bytes to string as well as other code to convert a string to bytes where the code does the same thing in both python2 and python3 and makes the convert with the same element values.
or:
i am looking for code to convert bytes to string as well as other code to convert a string to bytes where the code does the same thing in both python2 and python3 and makes the convert with the same element values.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.