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

2
  • possible duplicate of wxPython: how to create a bash shell window? Commented Aug 16, 2010 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.. Commented Aug 17, 2010 at 8:14

2 Answers 2

0

You should use wx.lib.shell

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

Sign up to request clarification or add additional context in comments.

1 Comment

That seems to be good, I don't have the time to check it now though, thanks for the tip anyway!
0

Maybe pyCrust plus the Python debugger?

2 Comments

I don't see how I can use pyCrust in this case :s it does not offer something like RunFile() or Open(),...
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.