I want to run something from script and edit in the console. For example, pseudo code
1) I run a Monte Carlo simulation for 5 min, I got simulation results. > my_sim = mcmc(1000) 2) I calculate the mean, var, sd, of the simulated numbers > mean = sum(my_sim)/100 > and so on... 3) I want to revise my mean and sd formula For step 3, you can just highlight that portion of the script with the modified formula. It's very convenient! 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. Thank you for all your suggestions, I appreciate it! On Sat, Jun 3, 2017 at 4:06 AM, Alan Gauld via Tutor <tutor@python.org> wrote: > On 03/06/17 07:20, Mike C wrote: > > > There is a high demand for Python in the > > industry, but there has not been a good IDE. > There are a ton of IDEs for Python including the > generic ones like VS, Eclipse and Netbeans. > But... I've tried many of these and find I keep > coming back to the simpler 3-window approach to > Python development: > - A code editor(multi-tabbed), > - an open interpreter session and > - an OS prompt for running/testing the program. > > I always find that faster and more effective > than a complex IDE. > > I'm not against IDEs in general and for C++ and > Java I find an IDE more or less essential. But > the immediacy and simplicity of Python with its > interpreter is very hard to beat. (It's the closest > thing I've found to the Smalltalk workspace for > productive programming) > > > I find that strange. > > It seems so until you try it. IDEs and Python > just don't work that well for many people. (Of > course there are also many folks who do like them > and use them, but compared to other languages they > are less used, because they offer less benefit.) > > > -- > Alan G > Author of the Learn to Program web site > http://www.alan-g.me.uk/ > http://www.amazon.com/author/alan_gauld > Follow my photo-blog on Flickr at: > http://www.flickr.com/photos/alangauldphotos > > > _______________________________________________ > 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