About 85,400 results
Open links in new tab
  1. What's the difference between a TypeError and ValueError?

    Sep 21, 2022 · The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have …

  2. How to catch ValueError with datetime objects : r/learnpython

    Jun 30, 2020 · The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have …

  3. `int('1' * 4301)` will raise ValueError starting with Python 3.10.7

    But the vulnerability they are talking about has been possible for over 20 years, all the way back to Python 1.5 (although not by default until 2.2 or thereabouts). The Python security team was …

  4. except VS except valueError: what's the difference?

    May 19, 2020 · Python has many different types of exceptions. The type of the exception gives a rough idea what caused the problem, and it's common to add more detailed information as an …

  5. Can someone explain AttributeError, TypeError and ValueError

    Jan 1, 2021 · The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have …

  6. Value Error Problem : r/learnpython - Reddit

    Dec 18, 2021 · The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have …

  7. Error handling in functions that returns a value : r/learnpython

    Jan 24, 2022 · The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have …

  8. Python HTTP API request error: Expecting value: line 1 column

    Jun 14, 2022 · Python HTTP API request error: Expecting value: line 1 column 1 (char 0) . API's response was not formated as JSON? Hi everyone, so I am new to Python, and recently I …

  9. "msg": "field required", "type": "value_error.missing" error

    Sep 29, 2021 · I would advise against returning a python data structure (dict) in a API response. You should return a standardized response type, such as JSON ; hence, jsonable_encoder . I …

  10. New to python: How do I say " if value not number"? - Reddit

    Dec 5, 2021 · With your current code there isn't a reason to check if value is a number. You're taking the output from input (which is a string) and passing it to int; i.e. value will already be an …

Refresh