Dynamically reloading extension modules

Ken Seehof kens at sightreader.com
Wed Mar 21 17:01:44 EST 2001


Has anyone found a technique for dynamically unloading and
reloading an extension module?  I want to be able to modify,
build, and reload an extension module from within my program.

Unfortunately python apparently doesn't use FreeLibrary when
a module object is released.  Maybe I can do some kind of
hack to call FreeLibrary explicitly.  Is there a way to do this that
is portable?

----------------------------------------------------
Copyright (c) 2001 by Ken Seehof
This document may not be distributed, copied,
duplicated, or replicated in any form without
express written permission by Ken Seehof.
Express permission is hereby granted.
kens at neuralintegrator.com
----------------------------------------------------






More information about the Python-list mailing list