dissable a group for lines

On 04/07/2014 at 03:03, xxxxxxxx wrote:

hi
i want to dissable a group of lines.
in the Python documentation i found

""" this ist a group of comments
I want to dissable"""

But when I place me code in the """ code """"
everything after this doesn't work

Question:
How can dissable a group of lines.

On 04/07/2014 at 03:17, xxxxxxxx wrote:

For me it works (I tested it in a script).
Also for comments the color changes, so you can check right away.

import c4d
from c4d import gui, utils
  
  
def main() :
    print "start"
    """ 1 comment line """
    # another way to have one comment line
    print "end"
    
    """
    multiple comments lines 
    multiple comments lines """
    
    
    
if __name__=='__main__':
    main()
  

On 04/07/2014 at 04:05, xxxxxxxx wrote:

thanks a lot
I dont know what is the differenc to my post, wut now it works
????

On 04/07/2014 at 04:46, xxxxxxxx wrote:

""" ... """ is an Expression, unlike beginning a line with #.
It needs to be indented correctly.

-Niklas