As for the winforms tutorial, I suspect you are forgetting to do “import winforms”. However, the winforms.py refers to an old namespace IronPython.Objects that was renamed to IronPython.Runtime After making the change, all works fine.

 

The Avalon works just fine, as far as I can tell. However there were significant changes in Avalon in the last CTP so it may be versioning/setup problem.

 

I hope this helps

Martin

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luis M. Gonzalez
Sent: Monday, January 02, 2006 9:49 AM
To: [email protected]
Subject: [IronPython] Avalon tutorial

 

> Are you using ip.bat or ironpythonconsole.exe?

I'm using both with the same result.

 

By the way, I'm also having trouble with the winforms tutorial, just like Catalin:

 

>>> from System.Windows.Forms import *
Traceback (most recent call last):
  File , line 0, in input##0
ImportError: cannot import Windows from System

 

Luis

_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to