Can we get bold comments in Python/Spyder IDE? In MATLAB, a comment started with % symbol will be in normal text and a comment starting with %% will be shown in bold. Is there an equivalent symbol for Python Spyder IDE?


Can we get bold comments in Python/Spyder IDE? In MATLAB, a comment started with % symbol will be in normal text and a comment starting with %% will be shown in bold. Is there an equivalent symbol for Python Spyder IDE?


 
    
     
    
    In Matlab, %% not only makes the following text bold but also creates a section. In Spyder IDE you can create a section using #%%, but it will not show the specific comment in bold.
However, if you wish to display all comments as bold, you can achieve it through Preferences > Appearance > Color scheme editor > Comment > "Check Bold". Through the Color scheme editor you can also change the color and italics option.
 
    
    While triple quotes are typically used for multi-line comments in Python, in the IDE I use (PyCharm), they show up in bold type.
''' Write your Python comment here. '''
""" Write your Python comment here. '''
In Spyder, I think these same comments would be italicized.
