Blesson Varghese wrote: > 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. > Though I load the assemblies and they get loaded without any > exceptions. I cannot run a command like : > from <modulename> import * > It throws exception No module named <modulename.
Sometimes the namespaces (the module name you must use) are different from the assembly name. Fuzzyman http://www.voidspace.org.uk/index2.shtml > > > */Michael Foord <[EMAIL PROTECTED]>/* wrote: > > 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 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 > > > > Send FREE SMS to your friend's mobile from Yahoo! Messenger > Version 8. > > Get it NOW > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > > _______________________________________________ > users mailing list > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > > ------------------------------------------------------------------------ > 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 > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
