官术网_书友最值得收藏!

Let's learn Python!

Python is a high-level programming language invented by Guido Van Rossum. It is advantageous to learn Python using the Raspberry Pi for the following reasons:

  • It has a very simple syntax and hence is very easy to understand.
  • It offers the flexibility of implementing ideas as a sequence of scripts. This is helpful to hobbyists to implement their ideas.
  • There are Python libraries for the Raspberry Pi's GPIO. This enables easy interfacing of sensors/appliances with the Raspberry Pi.
  • Python is used in a wide range of applications by technology giants such as Google. These applications range from simple robots to personal AI assistance and control modules in space.
  • The Raspberry Pi has a growing fan base. This combined with the vast user base of Python means that there is no scarcity of learning resources or support for projects.

In this book, we will learn Python version 3.x. We will learn each major aspect of Python programming using a demonstrative example. Find out the awesomeness of Python by learning to do things by yourself! Keep in mind that there is Python 2.x, and it has subtle differences from Python 3.x.

If you are comfortable with the Linux command-line terminal, we recommend setting up your Raspberry Pi for remote development, as shown in Chapter 11, Tips and Tricks.

主站蜘蛛池模板: 阜新市| 旌德县| 临武县| 遂川县| 阿图什市| 陆良县| 濉溪县| 铜川市| 梅河口市| 武义县| 新平| 靖西县| 承德市| 资源县| 鄂托克前旗| 河间市| 岐山县| 化隆| 长海县| 项城市| 通化市| 义马市| 建瓯市| 富顺县| 旺苍县| 麻城市| 迁安市| 鄄城县| 苏尼特左旗| 乐业县| 延川县| 鹿邑县| 杭锦后旗| 临清市| 太湖县| 任丘市| 称多县| 宜宾县| 吴川市| 凉城县| 徐水县|