About 13,100,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. 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.

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

  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. python - Typing Greek letters etc. in plots - Stack Overflow

    Dec 4, 2016 · I need to type Greek letters and the Angstrom symbol in labels of axes in a plot. So for example

  9. How to display special characters in Python with print

    Apr 28, 2023 · The Unicode HOWTO in the Python docs has a lot more detail on this—if you're not willing to read the whole thing, The String Type describes the different kinds of escape …

  10. 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 …