> 
> Why would you want to?  Doing what you describe doesn't require that you 
> "unload" a module, unless that means something more to you than, say, 
> merely releasing the memory used by it (which is likely insignificant to 
> you).
> 

Hi Peter,

I have an application with Python embedded. I'm parsing a script directory to 
build a dictionary of script names with descriptions of what the scripts etc 
extracted from each script. The user then selects one of these scripts to 
execute by the embedded python.

Some of these scripts could potentially be quite large. Also the list of 
scripts 
could be quite large. So the main reason for unloading modules is to save 
memory.

Regards,

Guy
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to