<div>No I am trying to load some other .NET dll's. These dll's are related to some devices, on the project that I am working on. </div> <div>Though I load the assemblies and they get loaded without any exceptions. I cannot run a command like :</div> <div>from <modulename> import *<BR>It throws exception No module named <modulename.</div> <div> </div> <div><BR><B><I>Michael Foord <fuzzyman@voidspace.org.uk></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Blesson Varghese wrote:<BR>> Hi,<BR>> <BR>> Thanks a lot for the previous help.<BR>> Again getting into some other trouble. I have loaded a few dll's from <BR>> a directory using Reflection. Once I have loaded the dll's (the <BR>> assemblies), then I should be able to use its components in the <BR>> IronPython script. But even after loading the dll's an exception like <BR>> No module named
<MODULENAME>rises.<BR>> <BR>> Could you please suggest me some help.<BR>Having added the reference you *then* need to import them.<BR><BR>E.g.<BR><BR>import clr<BR>clr.AddReference('System.Windows.Forms')<BR><BR>import System.Windows.Forms<BR><BR>HTH<BR><BR>Fuzzyman<BR>http://www.voidspace.org.uk/python/index.shtml<BR><BR>> <BR>> Thanks.<BR>> <BR>><BR>> ------------------------------------------------------------------------<BR>> Find out what India is talking about on - Yahoo! Answers India <BR>> <HTTP: in.answers.yahoo.com *http: yanswers in mail us.rd.yahoo.com /><BR>> Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. <BR>> Get it NOW <BR>> <HTTP: *http: in mail us.rd.yahoo.com in.messenger.yahoo.com messengertagline><BR>><BR>> ------------------------------------------------------------------------<BR>><BR>> _______________________________________________<BR>> users mailing list<BR>>
users@lists.ironpython.com<BR>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com<BR>> <BR><BR>_______________________________________________<BR>users mailing list<BR>users@lists.ironpython.com<BR>http://lists.ironpython.com/listinfo.cgi/users-ironpython.com<BR></BLOCKQUOTE><BR><p> 
        
        
                <hr size=1></hr>
Find out what India is talking about on - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers India</a> <BR>
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. <a href="http://us.rd.yahoo.com/mail/in/messengertagline/*http://in.messenger.yahoo.com">Get it NOW</a>