دانلود کتاب Raspberry Pi Cookbook, 4th Edition (Final Release)
by Dr. Simon Monk
|
عنوان فارسی: کتاب آشپزی Raspberry Pi، نسخه چهارم (نسخه نهایی) |
دانلود کتاب
جزییات کتاب
Although many languages can be used to program the Raspberry Pi, Python is the most popular. In fact, the Pi in Raspberry Pi is inspired by the word python. Although Python’s most recent version, Python 3, has been around for years, you’ll find that a lot of people still use Python 2. Python 3 (the default for Raspberry Pi OS) is run by using either of the commands python or Python 3. The examples in this book are written for Python 3 unless otherwise stated. Most will run on both Python 2 and Python 3 without modification. This reluctance on the part of the Python community to ditch the older version is largely because Python 3 introduced some changes that broke compatibility with version 2. As a result, some of the huge body of third-party libraries developed for Python 2 won’t work under Python 3. My strategy is to write in Python 3 whenever possible, reverting Python 2 only when I need to because of compatibility problems.
This edition has been thoroughly updated to encompass the new models of Raspberry Pi, as well as the many changes and improvements to its Raspberry Pi OS. In particular you will find new chapters on:
• Machine Learning
• Raspberry Pi Pico and Pico W
This book is designed so that you can read it linearly, as you would a regular book, or access recipes at random. You can search the table of contents or index for the recipe that you want and then jump directly to it. If the recipe requires you to know about other things, it will refer you to other recipes, rather like a cookbook might refer you to base sauces before showing you how to cook something fancier.
The world of Raspberry Pi moves quickly. With a large, active community, new interface boards and software libraries are being developed all the time. In addition to examples that use specific interface boards or software, the book also covers basic principles so that you can have a better understanding of how to use new technologies that come along as the Raspberry Pi ecosystem develops.