Actually, I did this when I was developing the APBS Plugin. I put all of the interesting code in a module called _apbs_tools. apbs_tools was just a little wrapper where the init function would import and reload _apbs_tools and then call through to it.
-Michael On 2/24/07, DeLano Scientific <del...@delsci.info> wrote:
I believe this is a limitation of Python: once a code module is loaded and initialized, it is difficult to reload it...you might be able to hack it though. > -----Original Message----- > From: pymol-users-boun...@lists.sourceforge.net > [mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf > Of bgbg bg > Sent: Saturday, February 24, 2007 5:19 AM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] reload modified wizard > > Hello, > I develop several custom PyMol wizards. Is there any way to > reload a modified wizard, without restarting PyMol? > > Thank you. > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to > share your opinions on IT & business topics through brief > surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ PyMOL-users mailing list PyMOL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pymol-users
-- Biophysics Graduate Student Carlson Lab, University of Michigan http://www.umich.edu/~mlerner http://lernerclan.net