What is the top level namespace exported by that assembly? Assuming it was &#39;OneWire&#39; you <br>should be able to do:<br><br>import clr<br>clr.addReference(&quot;OneWireAPI&quot;)<br>import OneWire<br>...<br><br>Hope this helps!<br>
<br>- Brian<br><br><br><br><div class="gmail_quote">2012/4/4 Jorn Vanloofsvelt <span dir="ltr">&lt;<a href="mailto:jorn_vanloofsvelt@hotmail.com">jorn_vanloofsvelt@hotmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">
Dear Brian<br><br>My question is very short, and I hope that the answer is simple but I have not been able to find an answer on the web.<br><br>I am using python for .NET, I want to use a private managed DLL. My code looks as follows:<br>
<br><blockquote>import clr<br>from clr import System<br><br>clr.AddReference(&quot;OneWireAPI&quot;)<br></blockquote><br>That works, however I am unable to get the namespace or its classes. How am I supposed to do this?<br>
I figured &quot;from clr import namespace&quot;, but that didn&#39;t work. I have also tried Assembly.LoadFromFile()<br><br>Here is an example of usage of this DLL:<br><a href="http://files.maxim-ic.com/sia_bu/softdev/owdocs_400beta2/Docs/OW.NET/OW.NET_Primer.html" target="_blank">http://files.maxim-ic.com/sia_bu/softdev/owdocs_400beta2/Docs/OW.NET/OW.NET_Primer.html</a><br>
<br>Greetings<span class="HOEnZb"><font color="#888888"><br>Jorn                                                </font></span></div></div>
<br>_________________________________________________<br>
Python.NET mailing list - <a href="mailto:PythonDotNet@python.org">PythonDotNet@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/pythondotnet" target="_blank">http://mail.python.org/mailman/listinfo/pythondotnet</a><br></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">Brian Lloyd<br>
<a href="mailto:brian.d.lloyd@gmail.com" target="_blank">brian.d.lloyd@gmail.com</a><br>
(c) 540.845.2975</font><br>