how to comment lot of lines in python

Laurent Rahuel lrahuel.notgood at voila.fr
Fri Mar 31 02:40:21 EST 2006


diffuser78 at gmail.com wrote:

> Like in C we comment like
> /*
> Bunch of lines of code
> */
> 
> Should we use docstring """ """
> 
> Or there is something else too ??
> 
> Every help is appreciated.
> 
> Thanks
Hi,

Maybe this sounds simplier than regexp and so, just use the """ marker like
this :

"""
this
would be
commented
during
execution
"""





More information about the Python-list mailing list