|
From: <ba...@ph...> - 2003-03-17 08:01:52
|
Maybe I can add a few more arguments to this: Imagine you wrote a module which does some computation (say 1-3 mins) and then you would like to explore the results, eg. plot some data. This is much more easily done with an interactive session than using the editor and run (because you do not know yet how the output looks like). For example I use IPython (http://www-hep.colorado.edu/~fperez/ipython/) a lot which has many nice features (TAB completion, session logging, macros, colored exception traceback, is embeddable, easy access to gnuplot, etc. etc. ...) I think that this approach (together with embedding IPython) is great for debugging. A bit off-topic: did you manage to solve the problems with sockets and idle(fork) ? ((I brought this question up on the idlefork mailing list, but did not get any response ;-)) Arnd On Sun, 16 Mar 2003, Arthur wrote: > > Arthur, you may be in a position to clear up something for me. Evidently > > you, like many other users of Python, find it convenient/useful/natural to > > do these little explorations in the shell rather than typing > > > > import cmath > > print dir(cmath) > > Probably not much more to it than instant gratification, or flow, or > whatever you might want to call it. At the prompt, I feel myself to be in > inquiry, exploration, and experiment mode. > > Even though there is no compile cycle in Python, there is a "run" cycle when > working from script. And I associate a certain amount of formality with > working in that mode. > > Working at the prompt has a flow to it that can become something of a > dialogue with the language, in some sense. > > All a little soft, as an explanation. But as you say, I think I am not at > all unusual in using the interactive prompt in this manner. > > Art > > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |