python · March 26, 2023 0

How to set up Python mode for Processing

Table of Content

Python Processing is a mode for Processing, a programming language, development environment, and online community for creating interactive art, design, and education-related projects. Python Processing allows developers to write Processing sketches using Python instead of Java. It extends the Processing Development Environment (PDE) with the Python programming language and provides a Python interface to the Processing Graphics Library. With this, developers can create graphics, animations, interactive applications, and much more with Python. Processing language promotes software literacy within the visual arts and visual literacy within technology.

To set up Python mode for Processing:

  1. Download and install Processing from the official Processing website (
  2. Launch Processing and open the preferences window by clicking on "Processing" → "Preferences".
  3. In the preferences window, click on the "Modes" tab and then click on the "Add Mode" button.
  4. In the "Add Mode" window, scroll down and select "Python Mode for Processing" and click "Install".
  5. Restart Processing to activate the new mode.
  6. To create a new Python sketch, click on "File" → "New" and select "Python" as the mode.

Once you have Python mode set up, you can use Python instead of Java to write Processing sketches. Note that some features of Processing may not be available in Python mode, or may have slightly different syntax. You can find more information about writing Python code in Processing in the official Processing documentation.

%d bloggers like this: