Python is a powerful programming language that’s easy to learn and fun to play with. But once you’ve gotten a handle on the basics, what do you do next?

Python Playground is a collection of imaginative programming projects that will inspire you to use Python to make art and music, build simulations of real-world phenomena, and interact with hardware like the Arduino and Raspberry Pi. You’ll learn to use common Python tools and libraries like numpy, matplotlib, and pygame to do things like:

Generate Spirograph-like patterns using parametric equations and the turtle module

Build a laser show that responds to music by hooking up your computer to an Arduino

Programming shouldn’t be a chore. Have some solid, geeky fun with Python Playground.

The projects in this book are compatible with both Python 2 and 3.

Author Bio

Mahesh Venkitachalam is a software engineer with two decades of programming experience. He has nurtured a passion for technology since the eighth grade, which he channels into his popular electronics and programming blog, electronut.in.

Mahesh Venkitachalam was selected as the Python Developer of the Week on Mouse v. Python! Read the full interview here.

"Python Playground targets programmers that want to further improve their skills and knowledge of the language. The book does a good job at explaining all relevant details and makes sure that readers get a clear pictures of what is going on."
—InfoQ

Updates

Page 20: In Figure 2-3, the angle theta (Θ) should be between the x-axis and the segment OC.