Beginner cant find main.py
-
- Posts: 2
- Joined: Fri Aug 13, 2021 5:29 pm
Beginner cant find main.py
Just tried to start up new pyboard wthout success. Green LED flashes and flash drive appears OK. All documentation I can find says there should be a boot.py file and a main.py file. there is no sign of a main.py file and I can find no documentation that explains why so cant proceed any further. At least I have managed to get a nodemcu board to run Micropython so perhaps should stick to that. A frustrating and disappointing start with the pyboard which I exected to be easier.
Re: Beginner cant find main.py
main.py is not mandatory. If it exists, it will be executed at boot time. By default it will not be created, but you can create one to put your code into it.