0

Hey I want to create a bash-shell in wxPython, the only thing it should be able to do is run a python file and be able to offer user_input on the fly. (I know there is a Python Shell, but that is something different)

Can someone help me with this? thanks in advance

Kruptein
  • 25
  • 3
  • possible duplicate of [wxPython: how to create a bash shell window?](http://stackoverflow.com/questions/989129/wxpython-how-to-create-a-bash-shell-window) – Bryan Oakley Aug 16 '10 at 11:10
  • Well I don't think so :), I don't need all the bash features I just need the possibility to run a python file in the way bash does.. – Kruptein Aug 17 '10 at 08:14

2 Answers2

0

Maybe pyCrust plus the Python debugger?

Mike Driscoll
  • 32,629
  • 8
  • 45
  • 88
  • I don't see how I can use pyCrust in this case :s it does not offer something like RunFile() or Open(),... – Kruptein Aug 18 '10 at 08:40
  • You'd probably have to use it in combination with wx.Process or the subprocess module, which is what I expect most of the other editors use. – Mike Driscoll Aug 18 '10 at 15:38
0

You should use wx.lib.shell

Read more in here -> http://www.wxpython.org/docs/api/wx.lib.shell-module.html

Tours
  • 79
  • 7