Can you run a python script without a USB connection (just power)?
To run a python script on my WiPy whenever it is powered on, what do I need to do exactly? Sync the directory with a boot.py and main.py file? I want to use it for a wearable application, so that whenever it receives power (from the Vin pin), it automatically runs a script that I have written, without any USB connection. How do i do this?
robert-hh last edited by
@panos29 Both boot.py and main.py are executed at power on and reset, and give you the starting point. So you can put your code into main.py, or in a different file, which you import from main.py (which is what I prefer), or, or, or....