Hello. I am very new to python and drpython, but your program seems great. There is one thing I would like it to do though. It is useful for me to interact with python from drpython by highlighting lines of code and sending them to the python shell for evaluation (using a shortcut key). I want to do this without sending an entire file and without closing and opening a new python shell every time I do it. That way, variables in the python shell will be persistent. Lastly, I would like control to be brought back to the code in drpython after evaluation is completed.
I think this would be an easy script, but Im just not sure how to write it. I would like to try. I would guess that the first line would be:
and then the next lines would be (very roughly) something like:
self.txtPrompt.pid = wx.Execute(command, wx.EXEC_ASYNC, self.txtPrompt.process)
But I am not sure just how that it should be written. Am I correct that this would be a simple little script to do a quick and dirty job?
whoops...I see this fourm is for finished scripts...I will send my question to the help fourm.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.