Maybe this is an easy question for a real Python person, which I’m not. I have a frozen script that is working fine, and it can read and write files to the SD card. Is there a way for the frozen script to call a live .py script that’s on the SD card? Possibly using runpy.run_path() or similar?
Add something to sys.path()
and then you can import from the path added. The sd card is mounted under ‘/sdcard’. See openmv/scripts/libraries/_boot.py at master · openmv/openmv · GitHub which configures the board setup.
Thanks for always-fast response!