About 1,420,000 results
Open links in new tab
  1. What does asterisk * mean in Python? - Stack Overflow

    What does the asterisk mean when there is no argument name? For example in some functions of the class pprint.

  2. What does the 'with' statement do in python? - Stack Overflow

    Sep 13, 2013 · I am new to Python. In one tutorial of connecting to mysql and fetching data, I saw the with statement. I read about it and it was something related to try-finally block. But I couldn't find a …

  3. python - What does enumerate () mean? - Stack Overflow

    Mar 4, 2014 · What does for row_number, row in enumerate (cursor): do in Python? What does enumerate mean in this context?

  4. What does the ** maths operator do in Python? - Stack Overflow

    What does this mean in Python: sock.recvfrom(2**16) I know what sock is, and I get the gist of the recvfrom function, but what the heck is 2**16? Specifically, the two asterisk/double asterisk ope...

  5. >> operator in Python - Stack Overflow

    Aug 5, 2010 · What does the >> operator do? For example, what does the following operation 10 >> 1 = 5 do?

  6. What does 'f' mean before a string in Python? - Stack Overflow

    Oct 4, 2019 · What does 'f' mean before a string in Python? [duplicate] Asked 6 years, 2 months ago Modified 1 year, 10 months ago Viewed 46k times

  7. What does Python's eval() do? - Stack Overflow

    See Using python's eval () vs. ast.literal_eval () for a potentially safer technique. See How do I use raw_input in Python 3? for background context on why a book might have contained code like this, or …

  8. What does 'is' operator do in Python? - Stack Overflow

    Aug 16, 2013 · Admittedly, there's far better ways of doing this, but we're being pathological here. (Admittedly the above makes more sense to a reader than the needed if !result: with linux-esque …

  9. What does hash do in python? - Stack Overflow

    Jul 11, 2013 · In a set, Python keeps track of each hash, and when you type if x in values:, Python will get the hash-value for x, look that up in an internal structure and then only compare x with the values …

  10. python - What do * (single star) and / (slash) do as independent ...

    Jan 9, 2020 · The function parameter syntax (/) is to indicate that some function parameters must be specified positionally and cannot be used as keyword arguments. (This is new in Python 3.8) …