[Tutor] Writing Scripts.
शंतनू
shantanoo at gmail.com
Wed Oct 20 18:46:23 CEST 2010
Save the file. e.g. my_test_prog.py. Open 'terminal'. Run following command
'python my_test_prog.py'
On my 10.6.4 version of Mac OSX, I get following version of python.
===
$ /usr/bin/python
Python 2.6.1 (r261:67515, Dec 17 2009, 00:59:15)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
===
On 20-Oct-2010, at 9:43 PM, Autumn Cutter wrote:
> I just started learning Python last night and I'm a little stuck on how to write a Python script.
> I'm using Python 2.5.0 on a Mac OS X 10.6.4. I've tried using programs like Idle, Applescript and Textmate but I'm still unable to write a script and run it successfully. I'm wondering if I'm using the write program or if I understand correctly how to write and run scripts. Help! :(
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
More information about the Tutor
mailing list