[Pythonmac-SIG] My first Python Program
Daniel O'Donovan
dan.odonovan at gmail.com
Sat Jan 22 22:04:08 CET 2011
> I'm a complete novice to Python and I just created my first program for an
> assignment in a Python class that I'm taking at the local community college.
Hi John, Welcome the user group!
> I'm presented with this info: cpe-66-75-97-27: ~parkjv1$
>
> Is this my /users/parkjv1 directory?
Yes it is.
> When I type my file name Birth_Month.py I get an error indicating that
> command not found.
There are many different ways to do this, but for now I think the best idea would be to type
$ python Birth_Month.py
To tell the terminal that you want Python to run your program.
I hope that helps, after the initial learning curve I think you'll find learning python and programming hugely rewarding! Good luck and stay in touch.
Dan
Daniel O'Donovan
dan.odonovan at gmail.com
More information about the Pythonmac-SIG
mailing list