About 50 results
Open links in new tab
  1. 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 Python? Put it …

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

    In Python this is simply =. To translate this pseudocode into Python you would need to know the data structures being referenced, and a bit more of the algorithm implementation. Some notes about …

  3. slice - How slicing in Python works - Stack Overflow

    Python slicing is a computationally fast way to methodically access parts of your data. In my opinion, to be even an intermediate Python programmer, it's one aspect of the language that it is necessary to …

  4. Is there a "not equal" operator in Python? - Stack Overflow

    Jun 16, 2012 · There's the != (not equal) operator that returns True when two values differ, though be careful with the types because "1" != 1. This will always return True and "1" == 1 will always return …

  5. python - What does the caret (^) operator do? - Stack Overflow

    Side note, seeing as Python defines this as an xor operation and the method name has "xor" in it, I would consider it a poor design choice to make that method do something not related to xor like …

  6. operators - Python != operation vs "is not" - Stack Overflow

    In a comment on this question, I saw a statement that recommended using result is not None vs result != None What is the difference? And why might one be recommended over the other?

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

    What does asterisk * mean in Python? [duplicate] Asked 17 years, 3 months ago Modified 2 years, 2 months ago Viewed 327k times

  8. The tilde operator in Python - Stack Overflow

    Nov 29, 2011 · In Python, conceptually, numbers use an arbitrary number of bits. The implementation will allocate more space automatically, according to what is necessary to represent the number. (For …

  9. Using 'or' in an 'if' statement (Python) - Stack Overflow

    Using 'or' in an 'if' statement (Python) [duplicate] Asked 8 years, 2 months ago Modified 5 months ago Viewed 168k times

  10. Newest 'python' Questions - Stack Overflow

    2 days ago · Stack Overflow | The World’s Largest Online Community for Developers