dynamic loading of code, and avoiding package/module name collisions.

Paul Clinch pclinch at internet-glue.co.uk
Fri Apr 8 11:30:58 EDT 2005


Dear "John Perks and Sarah Mount",

> Long story short: what I'm looking for is information on how have a Python
> app that:
> * embeds an editor (or wxNoteBook full of editors)
> * loads code from the editors' text pane into the app
> * executes bits of it
> * then later unloads to make way for an edited version of the code.
> The new version needs to operate on a blank slate, so reload() may not be
> appropriate.


This sounds like 'idle'.

Regards, Paul C.



More information about the Python-list mailing list