+1 on Jupyter notebooks, but I also wanted to mention that Spyder will do what you want. You just need to highlight the code fragment of interest to rerun, and then hit ctrl-enter. It will proceed to run just that highlighted section of code.
On Sat, Jun 3, 2017 at 9:56 PM, Ben Finney <ben+pyt...@benfinney.id.au> wrote: > C W <tmrs...@gmail.com> writes: > > > In another word, I want to do trial and error, play with the code and > > see what comes out. Not running everything from the top every time. > > Already suggested, but I will repeat: You will find that Jupyter > Notebook <URL:https://jupyter.org/> is explicitly designed to make that > easy. > > -- > \ “Now Maggie, I’ll be watching you too, in case God is busy | > `\ creating tornadoes or not existing.” —Homer, _The Simpsons_ | > _o__) | > Ben Finney > > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > https://mail.python.org/mailman/listinfo/tutor > _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor