Go to advanced search

by bubbles8935716
Tue Jun 02, 2015 2:57 pm
Forum: Beginners
Topic: Invalid Syntax in Python
Replies: 5
Views: 2229

Re: Invalid Syntax in Python

OK, I realize what I did wrong. I kept on forgetting to write code in a NEW window. Thanks for the help!
by bubbles8935716
Mon Jun 01, 2015 11:47 pm
Forum: Beginners
Topic: Invalid Syntax in Python
Replies: 5
Views: 2229

Invalid Syntax in Python

So, I'm trying to run my first Python code: print("Hello, world!") in Python 3, and I saved it as hello.py. But when I type in: python3 hello.py into LXTerminal, I get: File "hello.py", line 1 Python 3.2.3 (default, Mar 1 2013, 11:53:50) (BTY, there's an arrow thingy under the 2) Can anyone tell me ...

Go to advanced search