![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: Duplicating Modules
From: Peter Otten <__peter__@web.de>
Date: Fri Sep 30 2005 - 20:32:28 CEST
kimes wrote:
> Why don't you do like this..
>>> import module as a
You have to remove the module from the cache before the second import:
>>> import sys
Peter
|