About 4,220,000 results
Open links in new tab
  1. python - How to change a string into uppercase? - Stack Overflow

    How can I convert a string into uppercase in Python? When I tried to research the problem, I found something about string.ascii_uppercase, but it couldn't solve the problem:

  2. What is the naming convention in Python for variables and functions ...

    As the Style Guide for Python Code admits, The naming conventions of Python's library are a bit of a mess, so we'll never get this completely consistent Note that this refers just to Python's standard …

  3. python capitalize first letter only - Stack Overflow

    Sep 13, 2012 · Very useful answer, because capitalize & title first lowercase the whole string and then uppercase only the first letter.

  4. Changing string to uppercase in python - Stack Overflow

    Mar 5, 2019 · In Python str.upper() returns a copy of the string with upper case values, and does not mutate the original string. In fact, strings in Python are immutable anyways.

  5. Random string generation with upper case letters and digits

    The chance of getting a particular character repeated drops off as you move through the generated string. Generating a string of 6 characters from the 26 uppercase letters plus 10 digits, randomly …

  6. python - How do I do a case-insensitive string comparison ... - Stack ...

    How can I compare strings in a case insensitive way in Python? I would like to encapsulate comparison of a regular strings to a repository string, using simple and Pythonic code.

  7. How can I get Python to use upper case letters when printing ...

    For me, 3.x means "the earliest version of python 3 that my package will support", which typically is "all non-EOL python 3.x". "where f-strings are awesome" - you're not wrong about that.

  8. python - Convert a list with strings all to lowercase or uppercase ...

    I have a Python list variable that contains strings. Is there a function that can convert all the strings in one pass to lowercase and vice versa, uppercase?

  9. Python - Ignore letter case - Stack Overflow

    Feb 24, 2016 · Python - Ignore letter case Asked 9 years, 9 months ago Modified 9 years, 8 months ago Viewed 75k times

  10. python - Capitalize a string - Stack Overflow

    Does anyone know of a really simple way of capitalizing just the first letter of a string, regardless of the capitalization of the rest of the string? For example: asimpletest -> Asimpletest