Книги / Языки программирования / Python / Graphic Guide to Python with Processing.py 3

Graphic Guide to Python with Processing.py 3

Antony Lees

This book teaches the Python programming language through visual graphics and animation using Processing.py, a Python mode for the Processing environment. It is designed for both non-programmers and experienced programmers who want to learn Python while creating visually engaging output.

The book covers Python fundamentals such as variables, operators, control flow (if statements, loops), data structures (lists, tuples, sets, dictionaries), and functions. Each concept is illustrated with Processing.py examples that produce immediate visual feedback, making learning more interactive and exciting.

A significant portion is dedicated to animation, showing how to create dynamic graphics. The author emphasizes experimentation and having fun while learning, noting that minor changes in code can yield unexpected visual results.

The book uses Processing version 3.5.4 (Python mode is not available in Processing 4). It includes chapters on drawing shapes, using the console, and understanding screen coordinates.

Overall, this is a practical, hands-on guide that combines Python education with creative coding, suitable for beginners and those looking to apply Python in a visual context.