[IronPython] Alternative to ironpythonconsole.exe
jvm_cop at spamcop.net
Fri Sep 8 19:43:37 CEST 2006
Given the major API changes that took place since you sent this out, have you got an updated version that you're willing to let us have?
At 06:17 PM 11/4/2005, Szymon Kobalczyk wrote
>Attached is my attempt to create console for IronPython in WinForms. It uses the RunInteractive() method on PythonEngine and provides itself as an IConsole. Hence, this one runs in a single process.
>The RunInteractive executes it's own loop and I had to run it in background thread so it doesn't block the UI. The requests for input and output messages are marshaled between these two threads.
>Unfortunately I wasn't able to redirect standard console output to my windows so you want see any results that are normally shown on the console. So what's the point then? Well, it shows some way to run and provide input to the engine and I hope someone already has a solution to redirect outputs. Oh, and it supports history ;-)
J. Merrill / Analytical Software Corp
More information about the Ironpython-users