I need to launch a python terminal from the code of one wxpython application when pressing a button. Is it possible?
Asked
Active
Viewed 191 times
1 Answers
1
In wxPython land, you could load a window that has PyShell in it, which is a Python shell written in wxPython. The wxPython demo has an example. There's also PyCrust (also in the demo) which adds a few more features to PyShell.
Otherwise you could do it by using the subprocess module to open a console with Python in it.
Mike Driscoll
- 32,008
- 7
- 41
- 85