- 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.
推薦閱讀
- 高效能辦公必修課:Word圖文處理
- Project 2007項(xiàng)目管理實(shí)用詳解
- 大數(shù)據(jù)項(xiàng)目管理:從規(guī)劃到實(shí)現(xiàn)
- Visualforce Development Cookbook(Second Edition)
- 中文版Photoshop CS5數(shù)碼照片處理完全自學(xué)一本通
- Canvas LMS Course Design
- Learning Microsoft Azure Storage
- Photoshop CS4經(jīng)典380例
- STM32G4入門與電機(jī)控制實(shí)戰(zhàn):基于X-CUBE-MCSDK的無刷直流電機(jī)與永磁同步電機(jī)控制實(shí)現(xiàn)
- 智能工業(yè)報(bào)警系統(tǒng)
- 大型數(shù)據(jù)庫管理系統(tǒng)技術(shù)、應(yīng)用與實(shí)例分析:SQL Server 2005
- Android游戲開發(fā)案例與關(guān)鍵技術(shù)
- Nginx高性能Web服務(wù)器詳解
- 突破,Objective-C開發(fā)速學(xué)手冊(cè)
- Statistics for Data Science