Sams Teach Yourself Python Programming for Raspberry Pi in 24 Hours, 2/e (Paperback)

Richard Blum, Christine Bresnahan

買這商品的人也買了...

商品描述

 

 

Python Programming for Raspberry Pi®

 

In just 24 sessions of one hour or less, Sams Teach Yourself Python Programming for Raspberry Pi in 24 Hours teaches you Python programming on Raspberry Pi, so you can start creating awesome projects for home automation, home theater, gaming, and more. Using this book’s straight-forward, step-by-step approach, you’ll move from the absolute basics all the way through network and web connections, multimedia, and even connecting with electronic circuits for sensing and robotics. Every lesson and case study application builds on what you’ve already learned, giving you a rock-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.

Richard Blum has administered systems and networks for more than 25 years. He has published numerous Linux and open source books, and is an online instructor for web programming and Linux courses used by colleges across the United States. His books include Ubuntu Linux Secrets; Linux for Dummies, Ninth Edition; PostgreSQL 8 for Windows; and Professional Linux Programming.

Christine Bresnahan began working as a systems administrator more than 25 years ago. Now an Adjunct Professor at Ivy Tech Community College, she teaches Python programming, Linux administration and computer security. She is coauthor of The Linux Bible, Eighth Edition. With Blum, she also coauthored Linux Command Line & Shell Scripting Bible, Second Edition.

 

  • 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, diction-aries, 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

 

On the Web:

Register your book at informit.com/title/9780672337642 for access to all code examples from the book, as well as update and corrections as they become available.

 

商品描述(中文翻譯)

Python程式設計與樹莓派®的繁體中文翻譯

Python程式設計與樹莓派®是一本以24個小時為單位的教學課程,透過這本書,您可以在樹莓派上學習Python程式設計,並開始創建家庭自動化、家庭影院、遊戲等令人驚艷的專案。本書使用直觀、逐步的方法,從基礎知識一直到網路和網頁連接、多媒體,甚至連接電子電路進行感應和機器人技術。每個課程和案例研究都建立在您已經學到的基礎上,為您在實際應用中打下堅實的基礎!

這本書的特點包括:
- 逐步指導,仔細引導您完成最常見的樹莓派Python程式設計任務。
- 每章結束時的測驗,幫助您測試自己的知識。
- 附帶資訊提供與討論相關的有趣資訊。
- 提供提示,提供建議或展示更簡單的執行任務的方法。
- 注意事項,提醒您可能遇到的問題,並提供避免問題的建議。

作者Richard Blum在系統和網路管理方面有超過25年的經驗。他已經出版了多本Linux和開源書籍,並且是美國各大學使用的網頁程式設計和Linux課程的線上講師。他的著作包括《Ubuntu Linux Secrets》、《Linux for Dummies, Ninth Edition》、《PostgreSQL 8 for Windows》和《Professional Linux Programming》。

Christine Bresnahan在25年前開始擔任系統管理員。現在是Ivy Tech Community College的兼職教授,教授Python程式設計、Linux管理和電腦安全。她是《The Linux Bible, Eighth Edition》的合著者。與Blum合著的還有《Linux Command Line & Shell Scripting Bible, Second Edition》。

本書內容包括:
- 獲取您的樹莓派並選擇合適的低成本外設。
- 安裝Raspian Linux和Python程式設計環境。
- 學習Python基礎知識,包括算術和結構化命令。
- 掌握Python 3的列表、元組、字典、集合、字符串、文件和模組。
- 使用函數在多個位置重複使用相同的Python程式碼。
- 使用正則表達式高效地操作字符串數據。
- 練習簡單的面向對象編程技巧。
- 使用異常處理使您的程式碼更可靠。
- 使用樹莓派和OpenGL編程現代圖形用戶界面。
- 使用PyGame庫創建樹莓派遊戲。
- 學習網路、網頁和數據庫技術,這些技術也可以應用於商業軟體。
- 編寫發送電子郵件的Python腳本。
- 通過樹莓派的GPIO接口與其他設備互動。
- 通過實例樹莓派專案的演示,激發您的創造力。

在網路上:
在informit.com/title/9780672337642註冊您的書籍,以獲取書中所有程式碼範例的存取權,以及更新和修正資訊。