how to comment lot of lines in python
Eric Deveaud
edeveaud at pasteur.fr
Fri Mar 31 08:09:03 EST 2006
diffuser78 at gmail.com wrote:
> Like in C we comment like
> /*
> Bunch of lines of code
> */
>
> Should we use docstring """ """
I would say NO.
docstring are displayed by pydoc, thus a pydoc on your code will display some
inconsistent information ;-)
> Or there is something else too ??
some moderns editors allow you to comment/uncomment a selected Bunch
of lines of code
Eric
--
> afin de parfaire mon apprentissage de linux,je cherche sur lille et sa
> périphérie une nana tout linux
JPH in Guide du linuxien pervers : "Connaître le système"
More information about the Python-list
mailing list