Skip to main content

A GTK Python Console for the GIMP python environment

Project description

First ideas on modify the GIMP Python interpreter to be more interactive.

As for now, code from two sources has been grabbed:

Update (28/03/21):

  • Huge refactor in original source codes.

  • A namespace python package structure has been implemented, adapted to GIMPs needs.

  • Logic from pure GTK3 is being split from GIMPs logic, then "apps" should have an isolated layer which runs outside GIMP.

  • Running 4 different Python Console approaches only changing a flag, to explore them:

  • The main problem integrating IPython is that the current approach (by importing it and call IPython.embed()) yields to a problem with the parsing of the inputs. For example:

In [1]: import os
  File "<ipython-input-1-5c84a8230b9f>", line 1
    invalid syntax (<string>, line 1)
SyntaxError: invalid syntax

In [2]: a = 10
  File "<ipython-input-2-5c84a8230b9f>", line 1
    invalid syntax (<string>, line 1)
SyntaxError: invalid syntax

In [3]: hola
  File "<ipython-input-3-74399d33e912>", line 1
    name 'hola' is not defined
SyntaxError: invalid syntax

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gimp-console-0.2.0.tar.gz (16.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page