Fresh install of Atom not running Python3 script (OS 10.9.5)


Wondering if someone can help me with this issue. I recently installed Atom. Went through a tutorial on configuring it for Mac OS then typed a few lines that ran fine on IDLE but in atom gave me an error message:

import random
for i in range(10):
print(random.randint(0,999), end="\t")

Atom gave me this error:
File “/Users/sma/Desktop/pythonFiles/”, line 3
print(random.randint(0,999), end="\t")
SyntaxError: invalid syntax

FYI, I have Python 3.6 installed on my macbook.

P.S. I’m just starting out in Python



As stated in the Atom FAQ, Atom doesn’t build or execute any code that you write in the editor. You are probably running into a problem with a community package. The FAQ also has information on how to contact the maintainers of any Atom community package or theme.