Problem of filetring comments by IDE to create main.py

Hello,

A small problem but that has occupied myself for a while.
If I have in my program a part not used like:

“”" Not used for the moment ‘’’

the source code


“”"

Here I just add a ’ " ’ at the end of “”" Not used for the moment ‘’’ to uncomment all the lines.

In IDE it is working fine but when saving this as main.py the last comment line (# “”") seems to be removed first and the first comment line is kept in the main.py source code putting all the following lines of the program in comments. Of course the program is not starting when the OpenMV is powered on.

Yeah, the IDE highlighting doesn’t necessarily match what the OpenMV Cam parses. Please follow python syntax guidelines.