[IronPython] Redirecting Input
avinhan at gmail.com
Thu Mar 4 10:56:02 CET 2010
In my application, I have a shell like control for users to interact with
tan embedded python engine. When the user enters some command and presses
<enter>, I use,
to execute the command. I have redirected the output so that any output
would be shown in my shell control. I would like to know how to redirect
input so that when a command contains, for e.g., "a = raw_input("Enter a
value: ")", I can prompt users to enter the value in my shell itself. I also
need to pause the execution till the users enter some value and press
<enter>. Can someone show me how to accomplish this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users