A new edition of a book for anyone who wants to learn programming to explore and create, with exercises and projects to help readers learn by doing. This book introduces programming to readers involved with the arts and humanities; there are no prerequisites, and no previous knowledge of programming is assumed. Nick Montfort reveals programming to be not merely a technical exercise within given constraints but a tool for sketching, brainstorming, and inquiry. He emphasizes programming's exploratory potential--its facility to create new kinds of artworks and to probe data for new ideas. The book is designed to be read alongside the computer, allowing readers to program while making their way through the chapters. It offers practical exercises in writing and modifying code and outlines "free projects" that allow learners to pursue their own interests.