Re: Debugging suggestions, efficiency - handling modules

2008-10-10 Thread Almar Klein
You might like IPython, it is an interactive python shell and you caneasily run scripts from it. That way, the active session remains, as well as all the imports. Personally, I don't like the "from pylab import *", the python philosophy says: "Namespaces are one honking great idea -- let's do more

Re: Debugging suggestions, efficiency - handling modules

2008-10-10 Thread Bruno Desthuilliers
John [H2O] a écrit : Hello, I am writing some scripts that run a few calculations using scipy and plot the results with matplotlib (i.e. pylab). What I have found, however, is that the bulk of the time it takes to run the script is simply in loading modules. Is this loading time really that h

Debugging suggestions, efficiency - handling modules

2008-10-10 Thread John [H2O]
Hello, I am writing some scripts that run a few calculations using scipy and plot the results with matplotlib (i.e. pylab). What I have found, however, is that the bulk of the time it takes to run the script is simply in loading modules. Granted, I am currently using: from pylab import * However