uPyCraft is a IDE runs on Windows and Mac, designed with simple interface and it is convenient to use.
To provide an easy and practical platform for fans of MicroPython, uPyCraft has many internal basic operation libraries.
By russelsher
#29016
Hi, just a small question about uploading boot.py and main.py after both have been edited:
Is the procedure to do an upload of one of then and then press STOP after that then select the other and upload that one? It seems to work, but I'm trying to make sure that is right when doing operations on the two files in a project.
How does the ide know where to separately place each file in the mcu? Is it is file name that tells it? ( boot and main)
Is there a shorter way to upload both files?
Thanks
Russell
By nana.wang
#29023
Hi, thank you for your support. The command execfile("boot.py") may help you upload and call many files.
You can import files at the same time, but each will only be import for once.
E.g. If we upload two files a and b at the same time. And from a import b, b will only be imported for once. If you upload b again, it will not be uploaded until reset.