<br><font size=3 face="Times New Roman">Dear Kent,</font>
<br>
<br><font size=3><tt>&gt;&gt;You can look up the function in the globals()
dict, or you can import <br>
&gt;&gt;__main__, which is the top-level module, and use getattr() on it.
Or you <br>
&gt;&gt;could wrap your functions in a class...<br>
&gt;&gt;<br>
&gt;&gt;def OnMenuFindMe():<br>
&gt;&gt; &nbsp; &nbsp;print 'You found me'<br>
&gt;&gt;<br>
&gt;&gt;f = globals()['OnMenuFindMe']<br>
&gt;&gt;<br>
&gt;&gt;f()<br>
&gt;&gt;<br>
&gt;&gt;import __main__<br>
&gt;&gt;<br>
&gt;&gt;g = getattr(__main__, 'OnMenuFindMe')<br>
&gt;&gt;g()<br>
&gt;&gt;<br>
&gt;&gt;Kent<br>
</tt></font>
<br><font size=3 face="Times New Roman">Many thanks.</font>
<br><font size=3 face="Times New Roman"><br>
<br>
Yours sincerely, <br>
______________________________<br>
János Juhász</font><font size=3> </font><font size=3 color=#cc0000 face="Times New Roman"><br>
</font>