Alexandre Villares


How to install o Processing Python Mode

[Portuguese-language version]

Processing is a Free and Open Source (FLOSS) programming platform started in 2001 by Casey Reas e Ben Fry, widely used by artists and to teach coding in a visual context. The Processing IDE is a text editor for code that can quickly execute your programs, called sketches.

Standard Processing is Java based and there are two other projects supported by the Processing Foundation that you might want to try:

Both can be added to the traditional IDE. So let’s see how to install Processing Python Mode (which hopefully is the reason you are reading this).

Visit downloads at the Processing site (http://www.processing.org/download), and choose your OS.

passo1

There is no installer, you just unzip/extract a folder. This is how it looks on Windows:

passo2

On Mac OS it’s almost the same, and on Linux, you can fire a Terminal window on the decompressed downloaded folder and type ./processing (you may also want to execute install.sh and that should create a nice desktop shortcut to Processing)

Once the Processing is launched, look for the modes menu on the top right corner and select Add mode…

passo3

Press Install to get the Python Mode [If this fails, see more instructions down below].

passo4

A Processing folder will be created under the user’s Documents on Windows and MacOs (On Linux the folder is called sketchbook), there you’ll find your sketches (programms), tools, modes and libraries. This is how it looks when you’ve finished:

passo5

Note: If you are under some restrictive proxy our without Internet acess you can download PyhtonMode.zip and manualy copy it (on Windows & Mac OS) under Documentos > Processing > modes > PythonMode. On Linux, under your sketchbook folder. Firewalls may disturb Python Mode as there is a helper process that tries to connect online. Another known issue is working with non-ASCII OS usernames & paths.

PS: How about a sketch to test it?

github.com/villares/py.processing-play

fim


Alexandre B A Villares (abav.lugaralgum.com), CC-BY-NC-SA-4.0 License