
What is the proper way to comment functions in Python?
Dec 14, 2019 · What is the proper way to comment functions in Python? Asked 15 years, 3 months ago Modified 10 months ago Viewed 415k times
How do I create multiline comments in Python? - Stack Overflow
Apr 9, 2022 · 109 Python does have a multiline string/comment syntax in the sense that unless used as docstrings, multiline strings generate no bytecode -- just like # -prepended comments. …
Shortcut to comment out multiple lines with Python Tools for …
May 30, 2011 · You misunderstand the question. Most Python editors provide a simple mechanism for adding # to multiple lines at once. I'm asking if Python Tools for Visual Studio …
Is there a shortcut to comment multiple lines in python using VS …
Sep 26, 2022 · Instead of indivually typing out a hash tag in front of each line, is there a way to select a block of code and comment/uncomment everything by only pressing a couple shortcut …
How to comment out a block of code in Python [duplicate]
6 In Eclipse + PyDev, Python block commenting is similar to Eclipse Java block commenting; select the lines you want to comment and use Ctrl + / to comment. To uncomment a …
coding style - Why does python use unconventional triple …
Nov 22, 2017 · 41 Why didn't python just use the traditional style of comments like C/C++/Java uses: /** * Comment lines * More comment lines */ // line comments // line comments // Is there …
What is the proper way to comment code in Python? [closed]
What is the proper way to comment code in Python? [closed] Asked 12 years, 5 months ago Modified 6 months ago Viewed 25k times
Shortcut key for commenting out lines of Python code in Spyder
Apr 15, 2016 · I recently changed from the Enthought Canopy Python distribution to Anaconda, which includes the Spyder IDE. In Canopy's code editor, it was possible to comment and …
python - Proper use of comments - Stack Overflow
Sep 23, 2017 · Python PEP8 has a section on comments. In short: Use inline comments sparingly. An inline comment is a comment on the same line as a statement. Inline comments …
How to properly comment functions in Python - Stack Overflow
Mar 18, 2018 · I would like advice on how I should structure my comments for functions. Is the description I currently have too in-depth? The following code is for an algorithm that solves the …