kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #21866
Re: Enhanced Python Shell
Hi Strotium
I have not really used the python shell that much in KiCad, but will
this also allow tab completion like we see in ipython?
2015-12-11 15:57 GMT+01:00 Strontium <strntydog@xxxxxxxxx>:
> Hello Kicad developers,
>
> I have been a very long time follower of kicad and I think the work done to
> it over the years is simply amazing.
> I would love to contribute where I can.
>
> I have had need to play with the python scripting of Kicad. Kicad uses
> wxpython.
> Wxpython includes within it, a much better shell than the one currently
> being used.
>
> If inside the current python shell, one does this:
>
>>>> import wx; f = wx.py.editor.EditorNotebookFrame(title="KiCad PCB");
>>>> f.Show()
>
> You will see what I am talking about.
>
> It provides a nice way to introspect python state when writing scripts, and
> also includes a simple tabbed text editor.
>
> Its possible this shell could be tweaked to be even better, but even as it
> stands its a LOT better than the default shell.
>
> I am working on a proposed patch to sub the existing shell with this one,
> for further discussion. I will post it once I test it.
>
> Strontium (Steven J)
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
References