* Create two files: main.py and boot.py, if you don’t already have those.
* Create two files: main.py and boot.py, if you don’t already have those.
−
{{ambox|text=You can also [[xx|use FTP]] to download boot.py and main.py from the board to your project folder, after which you can right-click the project viewer and use the ‘add source files’ option to add them to your project.}}
+
{{ambox|text=You can also [[Hack-pycom-lopy-ftp|use FTP]] to download boot.py and main.py from the board to your project folder, after which you can right-click the project viewer and use the ‘add source files’ option to add them to your project.}}
The boot.py file should always have the following code on the top, so we can run our python scripts over serial or telnet:
The boot.py file should always have the following code on the top, so we can run our python scripts over serial or telnet: