Difference: IntroductionToNopIoTAndPython (3 vs. 4)

Revision 42019-06-09 - IsaacArmahMensah

Line: 1 to 1
 
META TOPICPARENT name="WorkshopSlides"

Start Presentation

Slide 1: Introduction to Internet of Things (IoT)

Line: 96 to 96
  helloworld2.png
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:
<
<
idle.png
>
>
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:
<
<
idlescript.png

idleshell.png

>
>
thonny.png
 
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:
<
<
variable.png
>
>
variable.png
  %SLIDESHOWEND%
Line: 179 to 180
 
META FILEATTACHMENT attachment="commandlinearg.png" attr="" comment="" date="1560050461" name="commandlinearg.png" path="commandlinearg.png" size="15823" user="IsaacArmahMensah" version="1"
META FILEATTACHMENT attachment="argscript.png" attr="" comment="" date="1560051009" name="argscript.png" path="argscript.png" size="30381" user="IsaacArmahMensah" version="1"
META FILEATTACHMENT attachment="runcmdlineArg.png" attr="" comment="" date="1560051017" name="runcmdlineArg.png" path="runcmdlineArg.png" size="26649" user="IsaacArmahMensah" version="1"
Changed:
<
<
META FILEATTACHMENT attachment="variable.png" attr="" comment="" date="1560080958" name="variable.png" path="variable.png" size="263001" user="IsaacArmahMensah" version="2"
>
>
META FILEATTACHMENT attachment="variable.png" attr="" comment="" date="1560114615" name="variable.png" path="variable.png" size="75799" user="IsaacArmahMensah" version="3"
META FILEATTACHMENT attachment="thonny.png" attr="" comment="" date="1560114164" name="thonny.png" path="thonny.png" size="124394" user="IsaacArmahMensah" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback