!!! main.py

%%info
This is __Exercise 1__ of the [Micro Python Tutorial].
%%

The file {{main.py}} is special in MicroPython, in the sense that when you power-on the device and/or press the reset button, the main.py file is executed.

%%filename main.py %%
%%python
\\# this is a comment

print('hello world.')
print("hello again.")
%%



----
__Previous:__ [MicroPython Tutorial|MicroPythonTutorial]: home page \\
__Next:__ [MicroPython Tutorial Exercise 2|MicroPythonTutorialExercise02]: functions