compile my *.py script to *.mpy and compile &.mpy into firmware


You need to build the the firmware from source, clone the repository and just put your script in scripts/libraries/ and build.

Can read my sourse just like code in openmvdisk?


I want hide my code

It won’t be readable like a .py, it will be bytecode, but it’s not encrypted someone could decompile it.

OK! it is useful!Thank a lot!