On Jan 9, 2008 2:45 PM, Tim Roberts <[EMAIL PROTECTED]> wrote:
>
> This is an important point, and I still don't think you have it exactly
> right. When you say "including changes made by a reload", that really
> should say "ONLY IF the module has been reloaded". Unless you reload it,
> the "mym
On Wed, 9 Jan 2008 09:49:29 -0800, "Curt Hagenlocher"
<[EMAIL PROTECTED]> wrote:
On Jan 9, 2008 9:42 AM, Lee Culver <[EMAIL PROTECTED]> wrote:
>
>> class MyClass(SomeNameSpace.IMyInterface):
>> def SomeFunc(self):
>> from mymod import myfunc
>> myfunc()
>>
>> That wa
On Jan 9, 2008 10:42 AM, Lee Culver <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I don't know the answer to the original question, but this is not exactly
> correct:
>
>
>
>
> Another alternative would be to change your code to look like this:
>
>
>
> class MyClass(SomeNameSpace.IMyInterface):
>
> def
On Jan 9, 2008 9:42 AM, Lee Culver <[EMAIL PROTECTED]> wrote:
>
>> class MyClass(SomeNameSpace.IMyInterface):
>> def SomeFunc(self):
>> from mymod import myfunc
>> myfunc()
>>
>> That way, the import gets re-run each time you run SomeFunc, and
>> you'll always get the latest ver
m that the changed "mymod" is not loaded properly, or are you modifying
the script while the C# program is running?
-Lee
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Curt Hagenlocher
Sent: Wednesday, January 09, 2008 9:16 AM
To: Discussion of
On Jan 9, 2008 8:54 AM, Slide <[EMAIL PROTECTED]> wrote:
>
> If I change this file and try reloading my script, it takes the
> modifications just fine and runs the new code. If I modify mymod, but
> not the main script, I get the old code from mymod run. Is there
> something I can do to force it to