Dear Spyder developers,I am a very satisfied user of the Spyder IDE. It looks great and works even better. I use it for all my larger Python assignments and projects. I also greatly enjoy the embedded profiler and pylint. Really superb!I would however like to propose one minor modification which would greatly simplify testing for run-times. Currently the "show elapsed time" gives us the time since a Python interpreter was started. If I run a script with Spyder I need to remember at which time I pressed F5 and I need to be there when the script finishes to know the exact amount of time it took to run the entire script. I would like to see the "show elapsed time" option modified such that it works like a stopwatch: start from t = 0 when F5 is pressed and hold the timer fixed when a script has finished running.I know there exist a number of ways to achieve this without modifying the Spyder IDE (use a Python timing function, or use a bash timing function), however I consider this to be a nicer way to achieve it. If there any reasons to reject this proposal I would gladly like to know why and discuss it if possible.
Yes that is indeed true. However I also like the option to be able to interact with the interpreter after the script has finished. This way I can still access all variables. In that case the timer keeps on running.
Kind regards,
Aeronaelius
Well, what I want is already possible in a way. Like you said by setting the script to run in its own dedicated interpreter the timer starts when the interpreter is born and stops when the script is finished. However that is only possible IF you do not add the option to interact with the interpreter after the script has finished (as I said before). So basically what could be done is to do the same for when the interaction option is selected.Another way is to make Spyder print the elapsed time to the console only once when the script has finished (having that as a Spyder in-build option rather than writing the code yourself).
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To post to this group, send email to spyd...@googlegroups.com.
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.