[GRASS-dev] [GRASS GIS] #666: add a scripting console
GRASS GIS
trac at osgeo.org
Sat Apr 6 04:05:41 PDT 2013
#666: add a scripting console
--------------------------+-------------------------------------------------
Reporter: timmie | Owner: grass-dev@…
Type: enhancement | Status: closed
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch64
Resolution: fixed | Keywords: python
Platform: All | Cpu: x86-32
--------------------------+-------------------------------------------------
Comment(by annakrat):
Replying to [comment:7 timmie]:
> So does this mean agreement or disagreement?
>
> the notebook is a beast that could not get integrated.
> We would rather need to create a set of %magics to open the wxGui from
within the IPython Notebook to
> * get the power of scripting with GRASS, R, Scipy etc.
> * use the power & comfort of GRASS wxGUI for display and interaction.
>
> => this would be a different enhancement request.
>
> But here' a gui example:
>
https://github.com/ipython/ipython/blob/master/examples/lib/ipkernel_wxapp.py
This console is based on qt. It would be possible to call it and use it as
a separate window. However, so far I was not able launch it from wxGUI
because of various errors. Also it seems that the console (from the
example above) does not quit with the wx app. Maybe someone will be more
lucky.
I haven't succeeded in launching wxGUI from IPython either. The GUI
freezes. The [https://github.com/ipython/ipython/blob/master/examples/lib
/gui-wx.py example] works at least, so it should be possible to make it
work.
Anna
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/666#comment:9>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list