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,
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, I want to re-import the file and find
Joseph Quigley gmail.com> writes:
> 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.
So you have two modules which implement the same function
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
Joseph Quigley wrote on Fri, 08 Apr 2005 16:58:37 -0600:
> import is handy. But my questions are:
> is there a type of unimport or something to unload a module?
Things which are not used are cleaned up automatically at some point. What
would you like to do do that this mechanism doesn't provide?
-
Joseph Quigley wrote on Fri, 08 Apr 2005 16:58:37 -0600:
> import is handy. But my questions are:
> is there a type of unimport or something to unload a module?
Things which are not used are cleaned up automatically at some point. What
would you like to do do that this mechanism doesn't provide?
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
Hi,
Here is all the information I could get from the display of the output from
this error. How do I figure out what is going on and fix the problem? This is
on a Windows 2000 machine.
graphic 910 C:\WINNT\system32\command.com
C:\PYTHON>python -v
# installing zipimport hook
import zipimport # b
12 matches
Mail list logo