- Python Programming with Raspberry Pi
- Sai Yamanoor Srihari Yamanoor
- 189字
- 2021-07-02 23:48:41
The Hello World example
Since we are done setting up the Raspberry Pi, let's get things rolling by writing our first piece of code in Python. While learning a new programming language, it is customary to get started by printing Hello World on the computer screen. Let's print the following message: I am excited to learn Python programming with the Raspberry Pi Zero using Python.
In this book, we will learn Python using the Integrated Development and Learning Environment (IDLE) tool. We chose IDLE for the following reasons:
- The tool is installed and shipped as a package in the Raspbian OS image. No additional installation is required.
- It is equipped with an interactive tool that enables performing checks on a piece of code or a specific feature of the Python language.
- It comes with a text editor that enables writing code according to the conventions of the Python programming language. The text editor provides a color code for different elements of a Python script. This helps in writing a Python script with relative ease.
- The tool enables a step-by-step execution of any code sample and identify problems in it.
推薦閱讀
- AutoCAD快速入門與工程制圖
- 21天學(xué)通JavaScript
- 精通MATLAB神經(jīng)網(wǎng)絡(luò)
- 大數(shù)據(jù)專業(yè)英語(yǔ)
- Effective DevOps with AWS
- 80x86/Pentium微型計(jì)算機(jī)原理及應(yīng)用
- 大學(xué)計(jì)算機(jī)應(yīng)用基礎(chǔ)
- 精通特征工程
- 統(tǒng)計(jì)策略搜索強(qiáng)化學(xué)習(xí)方法及應(yīng)用
- 高維聚類知識(shí)發(fā)現(xiàn)關(guān)鍵技術(shù)研究及應(yīng)用
- 網(wǎng)絡(luò)化分布式系統(tǒng)預(yù)測(cè)控制
- 筆記本電腦電路分析與故障診斷
- Web璀璨:Silverlight應(yīng)用技術(shù)完全指南
- JRuby語(yǔ)言實(shí)戰(zhàn)技術(shù)
- 人工智能:智能人機(jī)交互