Difference between revisions of "IoT Coding basics"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
Provide some fix the code as well as complete the code examples. Dealing with numbers, printing them, division and decimals | Provide some fix the code as well as complete the code examples. Dealing with numbers, printing them, division and decimals | ||
− | + | == Hello world == | |
+ | |||
+ | Introduce the shebang | ||
+ | |||
+ | == Modify the Code 1 == | ||
+ | |||
+ | |||
+ | Squares. | ||
+ | |||
+ | |||
+ | |||
+ | == Upgrade the Python2 code == | ||
+ | |||
+ | Create an upgrade this code to python3 | ||
+ | |||
+ | == Averaging a value | ||
+ | |||
+ | == Exponentially Weighted Moving Averages | ||
+ | |||
+ | |||
+ | == Glueing code together === | ||
Glueing code together | Glueing code together | ||
Line 8: | Line 28: | ||
*running bash from python | *running bash from python | ||
− | + | == Code resiliency == | |
− | + | ||
+ | === Reving processes === | ||
+ | |||
+ | === Virtual Terminals === | ||
+ | |||
+ | Complete some common Fibonacci or squares examples | ||
+ | |||
+ | == Modify the code 2 == |
Revision as of 00:44, 9 June 2020
Lab showing bash and python as well as execution times Provide some fix the code as well as complete the code examples. Dealing with numbers, printing them, division and decimals
Contents
Hello world
Introduce the shebang
Modify the Code 1
Squares.
Upgrade the Python2 code
Create an upgrade this code to python3
== Averaging a value
== Exponentially Weighted Moving Averages
Glueing code together =
Glueing code together
- running Python from bash
- running bash from python
Code resiliency
Reving processes
Virtual Terminals
Complete some common Fibonacci or squares examples