About 8,720,000 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 …

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

    Generally speaking, the symbol ^ is an infix version of the __xor__ or __rxor__ methods. Whatever data types are placed to the right and left of the symbol must implement this function …

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

    This symbol := is an assignment operator in Python (mostly called as the Walrus Operator). In a nutshell, the walrus operator compresses our code to make it a little shorter.

  4. mean in Python function definitions? - Stack Overflow

    Jan 17, 2013 · 136 As other answers have stated, the -> symbol is used as part of function annotations. In more recent versions of Python >= 3.5, though, it has a defined meaning.

  5. What is the '@=' symbol for in Python? - Stack Overflow

    Apr 26, 2018 · I know @ is for decorators, but what is @= for in Python? Is it just reservation for some future idea? This is just one of my many questions while reading tokenizer.py.

  6. python - Symbol-only string detection - Stack Overflow

    Jul 18, 2017 · I'm fairly new to Python (and programming in general), so I often end up facing really silly issues, such as the one below. What I want is to repeatedly check if all the …

  7. How to get ° character in a string in python? - Stack Overflow

    Jul 9, 2010 · How can I get a ° (degree) character into a string?Above answers assume that UTF8 encoding can safely be used - this one is specifically targetted for Windows. The Windows …

  8. numpy - Plus/minus operator for Python ± - Stack Overflow

    Jan 10, 2015 · Is there a way to do a plus/minus operation in Python 2 or 3? I do not know the command or operator, and I cannot find a command or operator to do this.

  9. How can I print a euro (€) symbol in Python? - Stack Overflow

    I'm teaching myself Python using the command-line interpreter (v3.5 for Windows). All I want to do is output some text that includes the euro (€) symbol which I understand to be code 80h (128 …

  10. python - How do I print a Celsius symbol with matplotlib ... - Stack ...

    Aug 29, 2015 · How do I print a Celsius symbol with matplotlib? Asked 14 years ago Modified 1 year, 10 months ago Viewed 57k times