<br><br><div class="gmail_quote">On Thu, Sep 23, 2010 at 5:26 PM, Pete <span dir="ltr">&lt;<a href="mailto:pkoek11@xs4all.nl">pkoek11@xs4all.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hiya,<br>
<br>
still working on my plugin architecture. I figured out how to import modules of which I don&#39;t know the name yet at compile time,<br>
by using __import__() instead of import.<br>
<br>
So that works fine when I want to have the equivalent of<br>
<br>
import spam<br>
<br>
... by using<br>
<br>
__import__(&#39;spam&#39;)<br>
<br>
Question:<br>
<br>
what is the equivalent of<br>
<br>
from spam import *<br></blockquote><div><br>may be<br><br>
function = getattr(spam, function_name)<br>
<br>
J.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
?<br>
<br>
thanks,<br>
<font color="#888888"><br>
Pete<br>
_______________________________________________<br>
Tutor maillist  -  <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
</font></blockquote></div><br>