This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:iot-open:scriptingprogramming:pythonfundamentals [2023/11/17 15:58] – pczekalski | en:iot-open:scriptingprogramming:pythonfundamentals [2023/11/23 10:25] (current) – pczekalski | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Python Fundamentals for IoT ====== | ====== Python Fundamentals for IoT ====== | ||
+ | {{: | ||
A program in Python is stored in text files on the device' | A program in Python is stored in text files on the device' | ||
In the context of IoT programming, | In the context of IoT programming, | ||
Line 47: | Line 47: | ||
The following chapters present Python coding elements specific to the microcontrollers. A complete Python course is beyond the scope of this publication, | The following chapters present Python coding elements specific to the microcontrollers. A complete Python course is beyond the scope of this publication, | ||
- | === IDEs for Python === | + | ==== IDEs for Python |
A dozen of IDEs can be used to program in Python. The most common are: | A dozen of IDEs can be used to program in Python. The most common are: | ||
* IDLE Editor, formerly delivered with Raspbian OS in the bundle, requires GUI. It is currently obsolete but still popular among hobbyists. | * IDLE Editor, formerly delivered with Raspbian OS in the bundle, requires GUI. It is currently obsolete but still popular among hobbyists. | ||
Line 55: | Line 55: | ||
* Simple code can be authored in the terminal using any text editor (e.g. Nano), as Python source files do not require compilation and are plain text ones. This is not very convenient, but it can help if no dedicated IDE and GUI are available, e.g., for rapid work remotely. | * Simple code can be authored in the terminal using any text editor (e.g. Nano), as Python source files do not require compilation and are plain text ones. This is not very convenient, but it can help if no dedicated IDE and GUI are available, e.g., for rapid work remotely. | ||
+ | <WRAP excludefrompdf> | ||
The following subchapters present some IoT and embedded systems-specific Python programming and an elementary introduction: | The following subchapters present some IoT and embedded systems-specific Python programming and an elementary introduction: | ||
- | * [[en: | + | * [[en: |
- | * [[en: | + | * [[en: |
- | * [[en: | + | * [[en: |
- | * [[en: | + | * [[en: |
- | * [[en: | + | * [[en: |
- | * [[en: | + | * [[en: |
- | * [[en: | + | * [[en: |
- | * [[en: | + | * [[en: |
- | * [[en: | + | * [[en: |
- | + | </ | |
- | === Additional Resources for Python programming for beginners === | + | ==== Additional Resources for Python programming for beginners |
For in-depth Python courses and more, follow the links: | For in-depth Python courses and more, follow the links: | ||
- The Python syntax and semantics: [[https:// | - The Python syntax and semantics: [[https:// | ||
Line 72: | Line 73: | ||
- The Python Standard Library: | - The Python Standard Library: | ||
- Free online Python course: [[https:// | - Free online Python course: [[https:// | ||
- | |||
- | |||
- | |||