<div class="gmail_quote">On Wed, May 13, 2009 at 9:02 AM, Moreland, Kenneth <span dir="ltr"><<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">I have no idea what the problem is. If you use the “Run Script” button to run the LoadMultipleFiles.py file, it creates a LoadMultipleFiles() function just like if you used the “from X import Y” command (which, incidentally, should also work assuming your python path is correct). I just tried it and it works fine.<br>
<br>
-Ken</span></font></div></blockquote><div><br>I see, I didn't realize you could not import files that are not on the python path (I assumed it would also look in the current directory). You are also correct that when you "Run script" on a .py file that defines a function, the function gets defined and can be used normally.<br>
<br>Thanks for the clarification.<br><br>Dave<br></div></div>