Hi, this is just a weird style question. I often find the need to comment something specific inside of a more generic coment. This is what I mean:
# Main comment A some code... # Sub comment A1 some code... # Sub comment A2 some code... # Main comment B some code... # Sub comment B1 some code... # Sub comment B2 some code... This way all the comments, make seem like the code is at the same level. what I really want is to show that the code in the organized in different levels or steps. So what I do is something like # --[ Main comment A ]-- # some code... # Sub comment A1 some code... # Sub comment A2 some code... # --[ Main comment B ]-- # some code... # Sub comment B1 some code... # Sub comment B2 some code... Do you see what I mean? But I am not very happy with it. I know this is not relevant at all, but I wonder if there is a convention for this. PEP doesn´t go into something that specific I think I also tried # -------------------------- # # Main comment A # # -------------------------- # some code... # Sub comment A1 some code... # Sub comment A2 some code... # -------------------------- # # Main comment B # # ------------------------- # some code... # Sub comment B1 some code... # Sub comment B2 some code... but now I am consuming 4 extra lines for nothing with # -------------------------- # cheers -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/8d11364b-74aa-4e17-ace4-aeeb5cc26989%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.