About 9,850,000 results
Open links in new tab
  1. python - What do these operators mean ... - Stack Overflow

    Mar 4, 2013 · However, Python 3 changed the behavior of / to perform floating-point division even if the arguments are integers. The // operator was introduced in Python 2.6 and Python 3 to …

  2. What do the symbols "=" and "==" mean in python? When is each …

    Although in Python we normally say that exceptions are raised rather than thrown, but I guess that's just a minor point. But you might like to mention that it raises a NameError, and why it …

  3. syntax - What do >> and << mean in Python? - Stack Overflow

    Apr 3, 2014 · The other case involving print >>obj, "Hello World" is the "print chevron" syntax for the print statement in Python 2 (removed in Python 3, replaced by the file argument of the …

  4. What does asterisk * mean in Python? - Stack Overflow

    Does * have a special meaning in Python as it does in C? I saw a function like this in the Python Cookbook:

  5. 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...

  6. What does the "at" (@) symbol do in Python? - Stack Overflow

    96 What does the “at” (@) symbol do in Python? @ symbol is a syntactic sugar python provides to utilize decorator, to paraphrase the question, It's exactly about what does decorator do in …

  7. python - What does ** (double star/asterisk) and * (star/asterisk) …

    Aug 31, 2008 · See What do ** (double star/asterisk) and * (star/asterisk) mean in a function call? for the complementary question about arguments.

  8. What is the purpose of the single underscore "_" variable in Python?

    May 5, 2011 · Underscore _ is considered as " I don't care " or " throwaway " variable in Python The python interpreter stores the last expression value to the special variable called _.

  9. python - What does if __name__ == "__main__": do? - Stack Overflow

    Jan 7, 2009 · When Python loads a source code file, it executes all of the code found in it. (Note that it doesn't call all of the methods and functions defined in the file, but it does define them.)

  10. What does colon equal (:=) in Python mean? - Stack Overflow

    What does the := operand mean, more specifically for Python? Can someone explain how to read this snippet of code? node := root, cost = 0 frontier := priority queue containing node only …