[Bf-python] Import module remains in cache ?

Stephen Swaney sswaney at centurytel.net
Thu Jan 12 16:52:30 CET 2006


On Wed, Jan 11, 2006 at 04:17:28PM +0100, bmx007 wrote:
> When i import personnal python module in cache, everything works correctly
> excpet than when i update the extern module, blender don't refresh it.
> I must kill the rerun blender to see my update.
> So , i' can't divide my work into small units, and  use a single huge file
> instead :-(
> 
> Is it a way to force reload of the module ?
> Thanks

reload( module )

This is Python behavior.  The import command always checks if a module
is already loaded before trying to bring it in.  Reload only works
if a module is  loaded.

-- 
Stephen Swaney			





More information about the Bf-python mailing list