Glenn T Norton wrote:
> jhl wrote:
>
>> Hi-
>>
>> How is the 1st import of a module removed so that new edits on the
>> module can be re-imported?
>>
> Read about reload here:
> http://docs.python.org/lib/built-in-funcs.html
Make sure you understand the limitations of reload(). In particular,
n
Thanks again!That is just what I need.-JOn 10/29/06, Glenn T Norton <[EMAIL PROTECTED]
> wrote:jhl wrote:> Hi->> How is the 1st import of a module removed so that new edits on the
> module can be re-imported?>> DETAIL:>> I am working on a module/file and importing it into a python shell,> trying it
On Sunday 29 October 2006 18:25, jhl wrote:
> Hi-
>
> How is the 1st import of a module removed so that new edits on the module
> can be re-imported?
>
> DETAIL:
>
> I am working on a module/file and importing it into a python shell, trying
> it out and then tweaking/editing the module. Then to se
jhl wrote:
> Hi-
>
> How is the 1st import of a module removed so that new edits on the
> module can be re-imported?
>
> DETAIL:
>
> I am working on a module/file and importing it into a python shell,
> trying it out and then tweaking/editing the module. Then to see the
> effects of the edits,
Joseph Quigley wrote:
> Well, I'm importing a custom module, and I can't loop back to the module
I imported (the modules are different modes of the program. Someone
suggested classes, but I have no idea how to use them.
I'm not sure I understand you, but it sounds like you have two versions of a
EMAIL PROTECTED]
Date: Tue, 25 Jan 2005 14:42:09 -0500
To:
Subject: Re: [Tutor] Re: Import Site Failed Resolution
OK, getting closer. import site is failing because site imports os and that import is failing. The
error message points to a line that should be part of the docstring at the beginni
OK, getting closer. import site is failing because site imports os and that import is failing. The
error message points to a line that should be part of the docstring at the beginning of os.py...strange.
Here are the first 22 lines from my os.py - the entire docstring. If your Python2.4\Lib\os.py