[IronPython] No moduled named Exception

Michael Foord fuzzyman at voidspace.org.uk
Fri Nov 24 11:38:09 CET 2006


Blesson Varghese wrote:
> Hi,
>  
> Thanks a lot for the previous help.
> Again getting into some other trouble. I have loaded a few dll's from 
> a directory using Reflection. Once I have loaded the dll's (the 
> assemblies), then I should be able to use its components in the 
> IronPython script. But even after loading the dll's an exception like 
> No module named <modulename> rises.
>  
> Could you please suggest me some help.
Having added the reference you *then* need to import them.

E.g.

    import clr
    clr.AddReference('System.Windows.Forms')

    import System.Windows.Forms

HTH

Fuzzyman
http://www.voidspace.org.uk/python/index.shtml

>  
> Thanks.
>  
>
> ------------------------------------------------------------------------
> Find out what India is talking about on - Yahoo! Answers India 
> <http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/>
> Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. 
> Get it NOW 
> <http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com> 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>   




More information about the Ironpython-users mailing list