Not sure if this is what you're asking, but you can invoke the Python interpreter from the command line (Terminal)
Open a new terminal, and at the $ prompt just type "python".. $ python Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> print "now in the python interpreter" now in the python interpreter To run a python program from the command line (assuming its in the same directory), just type: $ python myprogram.py On Sun, Feb 21, 2010 at 10:06 AM, Marco Rompré <marcodrom...@gmail.com>wrote: > Hi everyone, I would like to know how to use python with a mac. > > For now, I go to spotlight, open terminal then type IDLE and a window pops > up but its like the window that opens when you run your programs already > saved and I'm not able to open another window to write a script from > scratch. > > Could someone help me please please???? > > I have the latest Macbook Pro so 2,88ghz 15 inches screen. > > Thank you in advance > > Marchoes > > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > >
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor