En Tue, 12 Jun 2007 15:03:18 -0300, HMS Surprise <[EMAIL PROTECTED]>
escribió:
> Thanks for the reloads folks. This is a big help as I am running a
> jython based tool (maxq) and re-starting takes awhile.
>
> Can't seem to make reload work using the form "from dvTime
> import ...". So I am prefa
ipython supports deepreload which will recompile the bytecode from the file
no matter what. You can set the option up in ipython and use it. It requires
no exit to the current env.
Jim
On 6/12/07, Larry Bates <[EMAIL PROTECTED]> wrote:
HMS Surprise wrote:
> I imported a set of functions from a
Thanks for the reloads folks. This is a big help as I am running a
jython based tool (maxq) and re-starting takes awhile.
Can't seem to make reload work using the form "from dvTime
import ...". So I am prefacing my calls with the module name now.
thanx,
jh
--
http://mail.python.org/mailman/lis
Hello,
> I imported a set of functions from a file I wrote to interpreter
> shell:
>
> from myFile import *
>
> Now if I change functions in this file how can I make python forget it
> so I can force a fresh import?
"import *" is evil for many reasons, this is one of them :)
>>> import my_module
On Jun 12, 11:36 am, HMS Surprise <[EMAIL PROTECTED]> wrote:
> I imported a set of functions from a file I wrote to interpreter
> shell:
>
> from myFile import *
>
> Now if I change functions in this file how can I make python forget it
> so I can force a fresh import?
>
> thanx,
>
> jh
If you did
HMS Surprise schrieb:
> I imported a set of functions from a file I wrote to interpreter
> shell:
>
> from myFile import *
>
> Now if I change functions in this file how can I make python forget it
> so I can force a fresh import?
I think you are looking for reload(). But don't forget to check i
HMS Surprise wrote:
> I imported a set of functions from a file I wrote to interpreter
> shell:
>
> from myFile import *
>
> Now if I change functions in this file how can I make python forget it
> so I can force a fresh import?
>
> thanx,
>
> jh
>
While there may be ways of doing this, I have
I imported a set of functions from a file I wrote to interpreter
shell:
from myFile import *
Now if I change functions in this file how can I make python forget it
so I can force a fresh import?
thanx,
jh
--
http://mail.python.org/mailman/listinfo/python-list