import default ?
import default ?
When I have frozen code in firmware, in main.py file on / flash I will do an import, import from frozen code, how to "force" to load from / first, and when it is not there with firmware? Thanks.
Re: import default ?
The load order is defined in sys.path, with to he empty string standing for frozen code.
You cannot directly assign to sys.path, so you have to call sys.path.pop(0) to remove the first item, and append to add one.
You cannot directly assign to sys.path, so you have to call sys.path.pop(0) to remove the first item, and append to add one.
Re: import default ?
Everything is clear, thank you for your answer and help!