Comments

Lawrence Oluyede rhymes at myself.com
Wed May 8 13:26:02 EDT 2002


Rajat Chopra <rajat at cs.utexas.edu> wrote:

>Does anyone know if Python supports multi-line comments? I believe Java
>and C++ (and even non-ANSI C)  have /* ... */ for multi-line. Does Python
>have anything comparable?

You should use this:

"""
this is a 
multiline comment
"""

start and end the comment with three double-quotes

--
Lawrence Oluyede
rhymes at myself.com



More information about the Python-list mailing list