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
ort__.
Lastly you could look at the new import hooks (PEP 302) in the sys
module, implemented in 2.3, where you define a find_module that
returns a loader object.
Regards, Paul Clinch
--
http://mail.python.org/mailman/listinfo/python-list
Laszlo,
For :-
> Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import Lib
> Traceback (most recent call last):
> File "", line 1, in ?
> File "Lib\__init__.py", line 1, in ?
>