[Tutor] pythonwin

Mantovani Alberto Alberto.Mantovani@bologna.marelli.it
Fri Jan 31 00:48:51 2003


Hi,
working with Pythonwin I've noted that if you launch a script a first time
and then you modify and relaunch it, the script that goes in ecxecution is
alwais the first one that you launch. To execute the modify script you have
to exit and to enter   from pythonwin. This could be annoying, so my
question is:

1) Is there some method or some script to avoid this? 
I have found the manner to delete the module if it is imported with <import>
but not if it is imported with <from xxx import yyy>.

2) Is it possible to run automatically a my python script when I launch the
pythonwin?
If this was possible I could, at the start, to save all module imported in
pythonwin (<modules.key()>) and when I want to clear the namespace to delete
the new module imported

best regards

Mantovani Alberto

Magneti Marelli Powertrain S.p.A. 
Software Testing Dept. 
Via del Timavo, 33 - 40134 Bologna (ITALY)
Tel.: +39 051 615 7152
Fax.: +39 051 617 7782
Alberto.Mantovani@bologna.marelli.it
<mailto:Alberto.Mantovanianton@bologna.marelli.it>