unloading imported modules

Gerhard Häring gerhard.haering at gmx.de
Sat Jul 20 15:47:25 EDT 2002


Chris Liechti wrote in comp.lang.python:
> xeon at dacreations.cjb.net (xeon) wrote:
>> Is it possible in python intepreter to unload imported modules? or are
>> there ways to refresh the loaded functions if ever the module is
>> updated, other than restarting the intepreter?
> [...] maybe autoreloading interests you too. here comes the little
> bit log URL.... (one line, blah balh ;-)
> 
> http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=utf-
> 8&th=2ae8aac3beeb9859&seekm=mailman.1005899002.5050.python-
> list%40python.org&frame=off
 
Trick of the day learnt on #python:

http://tinyurl.com/r22
http://makeashorterlink.com/?H56C21F41

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id AD24C930
public key fingerprint: 3FCC 8700 3012 0A9E B0C9  3667 814B 9CAA AD24 C930
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list