Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Slide 1: Introduction to Internet of Things (IoT) | ||||||||
Line: 96 to 96 | ||||||||
Changed: | ||||||||
< < | Using Idle | |||||||
> > | Using Thonny | |||||||
Instead of running a standard editor like nano or emacs you may want to run an Integrated Development Environment (IDE) created specifically for Python instead. | ||||||||
Changed: | ||||||||
< < | Lets try idle | |||||||
> > | Thonny is Easy to get started. Thonny comes with Python 3.7 built in, so just one simple installer is needed and you're ready to learn programming. | |||||||
Changed: | ||||||||
< < | ||||||||
> > | It is very suitable for beginners and programming micro-controllers | |||||||
Changed: | ||||||||
< < | Idle Python Shell and Editor | |||||||
> > | For basic description of Thonny check https://thonny.org/ and https://realpython.com/python-thonny/
Lets try thonny
Thonny Python Shell and Editor | |||||||
Here you see the 2 idle windows. The top one contains the editor, the second the Python shell | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | Running the Program | |||||||
> > | Running a python script | |||||||
Script in python can be run from the Linux command shell with: | ||||||||
Line: 158 to 159 | ||||||||
The operand to the left of the = operator is the name of the variable and the operand to the right of the = operator is the value stored in the variable. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
%SLIDESHOWEND% | ||||||||
Line: 179 to 180 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
|