- 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.
推薦閱讀
- Clojure Data Analysis Cookbook
- Circos Data Visualization How-to
- 傳感器技術(shù)實(shí)驗(yàn)教程
- Mastering Elastic Stack
- 讓每張照片都成為佳作的Photoshop后期技法
- Implementing AWS:Design,Build,and Manage your Infrastructure
- 傳感器與新聞
- Hadoop應(yīng)用開(kāi)發(fā)基礎(chǔ)
- Mastering MongoDB 3.x
- SQL Server數(shù)據(jù)庫(kù)應(yīng)用基礎(chǔ)(第2版)
- 單片機(jī)技術(shù)項(xiàng)目化原理與實(shí)訓(xùn)
- 計(jì)算機(jī)組裝與維修實(shí)訓(xùn)
- PowerPoint 2010幻燈片制作高手速成
- 分布式Java應(yīng)用
- 運(yùn)動(dòng)控制系統(tǒng)