About 46,600 results
Open links in new tab
  1. ascii () in Python - GeeksforGeeks

    Jan 24, 2026 · Python provides the built-in ascii () function to return a printable representation of an object using only ASCII …

  2. python - How to get the ASCII value of a character - Stack Overflow

    Oct 22, 2008 · To get the ASCII code of a character, you can use the ord () function. Here is an example code: Output: Numpy can …

  3. Python ascii () Function - W3Schools

    Definition and Usage The ascii () function returns a readable version of any object (Strings, Tuples, Lists, etc). The ascii () function …

  4. string — Common string operations — Python 3.14.7 documentation

    1 day ago · String of ASCII characters which are considered printable by Python. This is a combination of digits, ascii_letters, …

  5. ascii () | Python’s Built-in Functions – Real Python

    By using ascii (), you ensure that all non-ASCII characters are escaped, making the log messages safe for your logging system. In …

  6. Python Program to Find ASCII Value of a Character

    Apr 15, 2024 · In this example, the function method1 returns the ASCII value of a given character using the ord () function in Python. …

  7. ASCII in Python: A Comprehensive Guide - CodeRivers

    Feb 22, 2026 · In Python, working with ASCII characters and values is a fundamental aspect of text processing, data manipulation, …

  8. curses.ascii — Utilities for ASCII characters — Python 3.14.7 …

    2 days ago · The curses.ascii module supplies name constants for ASCII characters and functions to test membership in various …

  9. Python ascii () (With Examples) - Programiz

    In this tutorial, you will learn about the Python ascii () method with the help of examples.

  10. How To Convert A String To ASCII In Python?

    Jan 23, 2025 · Learn how to convert a string to ASCII in Python using techniques like ord (), encoding methods, and loops. Includes …