luke14free wrote:
Michael Foord ha scritto:

It is likely that 'calculator.py' is trying to use Windows Forms or WPF. IIRC calculator.py is a WPF app - so you need to add references to the WPF assemblies.

Michael
How do I do that?
Try this:

import clr
clr.AddReference('presentationframework')
clr.AddReference('windowsbase')
clr.AddReference('presentationcore')

You will need .NET 3 installed.

Michael

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


--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.trypython.org/
http://www.ironpython.info/
http://www.theotherdelia.co.uk/
http://www.resolverhacks.net/

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

Reply via email to