comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How reload (re-import) a modified Python module through the IDL to Python bridge ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How reload (re-import) a modified Python module through the IDL to Python bridge ? [message #93366] Mon, 27 June 2016 06:13 Go to previous message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
I want to use homemade Python modules through the IDL Python bridge.
While developing such a module (for instance by modifying it in Spyder IDE and running it in an IDLDE session, back and forth), I did not find the right way to (re)import the last modified version of the Python module, in order to use it again, from the still open IDL session.
Is there a way, from IDL or Python side, to solve that ? How does IDL locate the module specified by its name in Python.Import method ?
Thanks to anyone for any clarification.
alx.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ENVI_DOIT, 'MNF_DOIT' from previous noise statistics?
Next Topic: How to use mpfitfun.pro for fitting?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:11:55 PDT 2025

Total time taken to generate the page: 0.00639 seconds