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, changing this to the specific classes/functions doesn't make a
significant difference in the execution time.

Is there a way to have the modules stay loaded? But rerun the script? One
solution I can think of is to set break points, and design my scripts more
as 'functions', then just run them from the command line.

Any advice is appreciated!
-john
-- 
View this message in context: 
http://www.nabble.com/Debugging-suggestions%2C-efficiency---handling-modules-tp19915639p19915639.html
Sent from the Python - python-list mailing list archive at Nabble.com.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to