Feature request: python interactive console

Bug #1095558 reported by Dov Grobgeld
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Inkscape
In Progress
Wishlist
Unassigned

Bug Description

It would be useful to have an interactive python console within inkscape that allows user line-by-line interaction with inkscape from a python level (e.g. like in ipython).

An addition/alternative would be to have script editor (e.g. based on gtkscintilla) that allows editing python scripts and then run them. I image a tool Tool/Python editor that when opened creates a new window that has an interface similar to gedit with an additional button Run that executes the current script in a new python context and allows jumping to errors. This tool should also provide a menu with File/Load,Save,Load recent.

References:

- http://ipython.org/ipython-doc/dev/interactive/qtconsole.html - An interactive console based on qt.
- http://gemshell.sourceforge.net/ - A gtk shell interaction that may be used for a gtk shell.

Tags: python
Revision history for this message
sgmanohar (sgmanohar) wrote :

Am I right in thinking that there is an earlier version of inkscape with just such a script editor?
And if so, why can't this just be linked to a 'run' button, so that it passes the current document through the python script?
It would be so useful!

jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → Wishlist
Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

Some work on a possible Python console is being developed here: https://gitlab.com/inkscape/inkscape/merge_requests/417

Changed in inkscape:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.