hi, On Sun, Nov 16, 2014 at 10:48 PM, John Trinder <[email protected]> wrote: > Hi, > I didn't know whether this is the correct site for help from the IP > community but here goes. > > I have a DLL written in C# that opens a Console window inside a Windows app. > I am utilizing this for use with IronPython when creating a Windows app as a > standalone that needs the Console window along with the other windows. > > It works fine doing for eg, Console.WriteLine() but output from the IP print > method is not displayed. > > How can I tell IP to send output from 'print' to the Console? I'm sure the > answer is simple but I'm out of ideas.
Just as an inspiration http://stackoverflow.com/questions/24456530/capture-python-print-statements-in-c-sharp/24489136#24489136 > > Thanks for any help given. > > PS I've attached the .cs file if anyone's interested in how it's done (NB. I > didn't create the code) > > _______________________________________________ > Ironpython-users mailing list > [email protected] > https://mail.python.org/mailman/listinfo/ironpython-users > _______________________________________________ Ironpython-users mailing list [email protected] https://mail.python.org/mailman/listinfo/ironpython-users
