System.Console.Out.WriteLine

Jan 2, 2009 at 2:49 PM
Hi,

I can compile and run in debug mode the following code ...but... I get no output in the Output Window.
Both methods work in  VB.Net
I am using IronPythonStudio  integrated into Visual Studio 2008 Professional.

import System

System.Console.Out.WriteLine("hello world")

myWriter = System.Diagnostics.TextWriterTraceListener(System.Console.Out)
System.Diagnostics.Debug.Listeners.Add(myWriter)
myWriter.WriteLine("hello world")

Can anyone else get this to work?

Thanks,
  Carl