Book description
In just 24 sessions of one hour or less, Sams Teach Yourself Python Programming for Raspberry Pi in 24 Hours teaches you Python programmingon Raspberry Pi, so you can start creating awesome projects for homeautomation, home theater, gaming, and more. Using this book’s straightforward,step-by-step approach, you’ll move from the absolute basics all theway through network and web connections, multimedia, and even connectingwith electronic circuits for sensing and robotics. Every lesson and casestudy application builds on what you’ve already learned, giving you arock-solid foundation for real-world success!
Step-by-step instructions carefully walk you through the most common Raspberry Pi Python programming tasks.
Quizzes at the end of each chapter help you test your knowledge.
By the Way notes present interesting information related to the discussion.
Did You Know? tips offer advice or show you easier ways to perform tasks.
Watch Out! cautions alert you to possible problems and give you advice on how to avoid them.
Get your Raspberry Pi and choose the right low-cost peripherals
Set up Raspian Linux and the Python programming environment
Learn Python basics, including arithmetic and structured commands
Master Python 3 lists, tuples, dictionaries, sets, strings, files, and modules
Reuse the same Python code in multiple locations with functions
Manipulate string data efficiently with regular expressions
Practice simple object-oriented programming techniques
Use exception handling to make your code more reliable
Program modern graphical user interfaces with Raspberry Pi and OpenGL
Create Raspberry Pi games with the PyGame library
Learn network, web, and database techniques you can also use in business software
Write Python scripts that send email
Interact with other devices through Raspberry Pi’s GPIO interface
Walk through example Raspberry Pi projects that inspire you to do even more
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Authors
- Dedication
- Acknowledgments
- We Want to Hear from You!
- Reader Services
- Introduction
- Part I: The Raspberry Pi Programming Environment
- Part II: Python Fundamentals
-
Part III: Advanced Python
- Hour 8. Using Lists and Tuples
- Hour 9. Dictionaries and Sets
- Hour 10. Working with Strings
- Hour 11. Using Files
- Hour 12. Creating Functions
- Hour 13. Working with Modules
- Hour 14. Exploring the World of Object-Oriented Programming
- Hour 15. Employing Inheritance
- Hour 16. Regular Expressions
- Hour 17. Exception Handling
- Part IV: Graphical Programming
- Part V: Business Programming
- Part VI: Raspberry Pi Python Projects
- Part VII: Appendix
- Index
Product information
- Title: Python Programming for Raspberry Pi, Sams Teach Yourself in 24 Hours
- Author(s):
- Release date: October 2013
- Publisher(s): Sams
- ISBN: 9780133490169
You might also like
book
Sams Teach Yourself Python Programming for Raspberry Pi in 24 Hours, Second Edition
Python Programming for Raspberry Pi® In just 24 sessions of one hour or less, Sams Teach …
book
Python Programming with Raspberry Pi
Become a master of Python programming using the small yet powerful Raspberry Pi Zero About This …
book
Learning Computer Architecture with Raspberry Pi
Use your Raspberry Pi to get smart about computing fundamentals In the 1980s, the tech revolution …
book
Programming the Raspberry Pi, Third Edition: Getting Started with Python, 3rd Edition
An up-to-date guide to creating your own fun and useful Raspberry Pi™ programs This fully updated …