About 6,910 results
Open links in new tab
  1. Strings and Character Data in Python – Real Python

    Dec 22, 2024 · In this tutorial, you'll learn how to use Python's rich set of operators and functions for working with strings. You'll cover …

  2. string — Common string operations — Python 3.14.6 documentation

    2 days ago · A string containing all ASCII characters that are considered whitespace. This includes the characters space, tab, …

  3. Python Strings - W3Schools

    Like many other popular programming languages, strings in Python are arrays of unicode characters. However, Python does not …

  4. Unicode and character encodings - Python Basics

    Dec 21, 2025 · Lines 1–7 The ASCII character set, which is used by Python and is the standard character set on almost all …

  5. Python Tokens and Character Sets - GeeksforGeeks

    Jan 12, 2026 · In Python, every program is formed using valid characters and tokens. The character set defines which characters are …

  6. Python Characters: A Comprehensive Guide - CodeRivers

    Apr 12, 2025 · In Python, characters play a fundamental role in various aspects of programming. Characters are the building blocks …

  7. Unicode HOWTO — Python 3.14.6 documentation

    2 days ago · The String Type ¶ Since Python 3.0, the language’s str type contains Unicode characters, meaning any string created …

  8. Python String - GeeksforGeeks

    Jun 11, 2026 · Explanation: s1: slice from index 1 onward and prepend "H". s2: replace ("ABC", "abc") returns a new string. Common …

  9. Python Escape Characters - W3Schools

    Escape Characters To insert characters that are illegal in a string, use an escape character. An escape character is a backslash \ …

  10. Unicode & Character Encodings in Python: A Painless Guide

    May 20, 2019 · In this tutorial, you'll get a Python-centric introduction to character encodings and unicode. Handling character …