On 26-Oct-06, at 7:26 PM, David Worrall wrote: > no need for a file? then enjoy the delights of the interpreter. just > $ /usr/bin/python (at the prompt)
Better, use IPython (even from Idle, I think it can be done, but I don't use Idle, so YMMV). IPython will let you work in the interpreter, then save the session to a file for editing if you decide to preserve what you've done. http://ipython.scipy.org/ --Dethe > > will get you the interpreter at which you can play around. > sometimes I do that whilst I'm trying to work out what I want > (by looking at the results of various processes) > and then drag/copy and past into a text edit doco when it's right, > and sometimes the reverse, especially for looping structures. > > That afterall is one of the beauties of interpreted languages ... > you don't need to know what you want until you see the it .. > This means that it is a tool for thought rather than just a tool for > executing a known idea. > > All the best w. python. I've programmed in everything from > fortran II , pascal, snobol, apl, forth, c, assemblers etc etc > and python for 7 years on all sorts of platforms. These days > there has to be a pretty convincing argument for me to use > anything else. > > ---David > > On 26/10/2006, at 7:28 PM, Rodney Somerstein wrote: > >> Thanks Chris and David for the suggestions. I'm already aware of >> other editors. But, as I mentioned, I'm currently learning Python and >> an environment that actually lets me execute python code without >> having to first create and save a file is superior for that purpose, >> in my opinion. >> >> I already own BBEdit and have for many years. So, when I start >> actually writing real code, I will likely use that. >> >>> For what it' worth, perhaps to save you some time, I recently spent >>> a day evaluating >>> these tools. Horses for courses, but for me: >>> TextWrangler is a freebie BBEditLite - a very nice word-processor >>> which is keyword aware; >>> SPE is a full-blown development environment which includes wxglade >>> interface to wxwindows >>> I found it difficult to 'grock' quickly but it could be good >>> ScrIDE is 1/2 way between. >>> >>> David >>> >>> On 26/10/2006, at 2:13 AM, Christopher Barker wrote: >>> >>>> While we're at it, if all you want is a Python-aware editor -- then >>>> there area a lot of other (better?) options. Scan the archives of >>>> this >>>> list for suggestions. A few: >>>> >>>> BBEdit (TextWrangler?) >>>> Eclipse >>>> SPE >>>> Jedit >>>> ScrIDE >>>> >>>> >>>> Assorted *nix editors: emaca, VIm, etc, etc. >>>> >>>> or look here: >>>> >>>> http://wiki.python.org/moin/PythonEditors >>>> >>>> -Chris >> >> >> -- >> >> Rodney Somerstein Always remember that you are unique... >> [EMAIL PROTECTED] just like everyone else. >> _______________________________________________ >> Pythonmac-SIG maillist - Pythonmac-SIG@python.org >> http://mail.python.org/mailman/listinfo/pythonmac-sig >> > > _______________________________________ > experimental polymedia: www.avatar.com.au > Sonic Communications Research Group, > University of Canberra: www.canberra.edu.au > > > > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig DETHE ELZA Senior Software Developer [EMAIL PROTECTED] _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig