About 109,000 results
Open links in new tab
  1. How to get the ASCII value of a character - Stack Overflow

    Oct 22, 2008 · Numpy can also be used to get the ascii value of a character. It is particularly useful if you need to convert a lot of characters to their ascii/unicode codepoints.

  2. Convert string to ASCII value python - Stack Overflow

    Nov 2, 2023 · Convert string to ASCII value python Asked 13 years, 11 months ago Modified 2 years, 1 month ago Viewed 391k times

  3. How do I get a list of all the ASCII characters using Python?

    21 ASCII defines 128 characters whose byte values range from 0 to 127 inclusive. So to get a string of all the ASCII characters, you could just do

  4. Python:Ascii character<->decimal representation conversion

    Dec 8, 2010 · Hi I need to be able to convert a ascii character into its decimal equivalent and vice-versa. How can I do that?

  5. Convert int to ASCII and back in Python - Stack Overflow

    Feb 28, 2017 · Convert int to ASCII and back in Python Asked 15 years, 3 months ago Modified 3 years, 3 months ago Viewed 532k times

  6. How do I convert a list of ascii values to a string in python?

    Oct 7, 2008 · I've got a list in a Python program that contains a series of numbers, which are themselves ASCII values. How do I convert this into a "regular" string that I can echo to the …

  7. python - How to print each letter of ASCII VALUE - Stack Overflow

    Hi everyone I was just exploring through ASCII in python. But the thing is i cannot find the ASCII value by each letter of the entered value With its corresponding letter. I was just able to find A...

  8. How to check if a string in Python is in ASCII? - Stack Overflow

    Oct 13, 2008 · A string in python has no property corresponding to 'ascii', utf-8, or any other encoding. The source of your string (whether you read it from a file, input from a keyboard, …

  9. python: extended ASCII codes - Stack Overflow

    Jan 21, 2014 · The result python print out is ['\xf7'] when it should be a division symbol. If I simple print code directly "print code" then I get the division symbol but not if I append it to a list.

  10. How to convert a list of characters to ASCII in python?

    Nov 13, 2017 · If you are using python 2, strings are encoded as ascii by default. If you are using python 3, you can convert a string to ascii using the built-in string method encode: