I see. Your script begins with a string: $ python test.py
It's not a valid python code. Maybe you just copied this text to your script accidentally. Try to delete the first string. Can you send a few first strings of your script? On Thu, Aug 19, 2010 at 17:05, Agida Kerimova <agi...@gmail.com> wrote: > this is what it looks like > > > On Thu, Aug 19, 2010 at 7:01 PM, Agida Kerimova <agi...@gmail.com> wrote: > >> Hi, I don't know how to work in a non bash console... I typed python in a >> terminal window and all but it didn't work... >> >> >> >> >> >> >> On Thu, Aug 19, 2010 at 5:53 PM, Sergey Smirnov <smirno...@gmail.com>wrote: >> >>> *when I actually * >>> >>> *type it I get an error msg* >>> >>> Did you type python commands in a bash console? In case you did, you >>> should run python interactive console instead. Just type python in terminal >>> window and than you'll be able interactively run statements. >>> >>> If you have your script saved in a file, for instance, script.py, to run >>> it on your Mac you should type: >>> $ python script.py >>> >>> It would be easier to understand you if you'll post errors messages here. >>> >>> -- >>> http://mail.python.org/mailman/listinfo/python-list >> >> >> >> >
-- http://mail.python.org/mailman/listinfo/python-list