Hey, I'm new to python so don't judge.

Larry Hudson orgnut at yahoo.com
Tue Jan 3 05:27:10 EST 2017


On 01/03/2017 04:27 PM, Callum Robinson wrote:
> On Wednesday, January 4, 2017 at 1:17:11 PM UTC+13, Chris Angelico wrote:
>> On Wed, Jan 4, 2017 at 11:03 AM, Erik <python at lucidity.plus.com> wrote:
>>> I doubt it's getting that far (I can see at least one syntax error in the
>>> code pasted).
>>
>> True true. In any case, the point is to copy and paste the error
>> message. Callum, please, copy and paste it.
>>
>> ChrisA
>
> I'm sorry if I'm doing something wrong but all that is happening is when i
try to run it a popup says Invalid syntax
>

Exactly HOW are you running this?

If you are getting a popup, I suspect you are using an on-line version in a 
browser.  To get the
proper Python error messages (called Tracebacks) you MUST run the program in a 
terminal on your
own computer.  These tracebacks are VERY informative (once you get used to 
them).   :-)
And these tracebacks are what WE need to see to help you.

You DO have Python installed, don't you?

--
      -=- Larry -=-




More information about the Python-list mailing list