Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When I write " #!!!" in Spyder, it shows a tick on the left. Why?

I am using Anaconda-Spyder in learning Python. I accidentally saw a blue tick on the left when I write #!!! in my source code. Why? What does this mean?

Blue ticks at the left

like image 746
Nilay İnel Avatar asked Oct 14 '25 04:10

Nilay İnel


1 Answers

This is a mark for you to allow to highlight places in the code with todo-like comments.

a) In Tools->Preferences dialog go to Editor -> Advanced settings tab and untick Display code annotations. Or don't untick, but find the list of comment tags that cause the blue mark to appear.

b) Don't forget to add a space after # to be pep8-compliant.

like image 112
Alexey Mints Avatar answered Oct 16 '25 17:10

Alexey Mints



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!