[Tutor] multiline comment in Python

tpc at csua.berkeley.edu tpc at csua.berkeley.edu
Thu Sep 4 13:40:45 EDT 2003


hello all, I am wondering if there is anything other than triple quotes
for multiline commenting blocks of code.  I am rather disappointed with
triple quote commenting because Python sometimes gives me a syntax error
which means I have to prepend a # in front of each line which can get
tedious.  I am running Python 2.2.3 and was really hoping for the /** */
multiline commenting in C and Java.  Thanks in advance.




More information about the Tutor mailing list