Aug-12-2018, 01:14 AM
Greetings everyone, I am having this exact same issue and hoping that a solution was found.
Can anyone assist?
I'm running on a Mac and my version is 3.7. See below for my obviously poor attempts at doing this. I am very new to coding so please aim solutions at dummy level.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "copyright", "credits" or "license()" for more information.
>>> python -m turtledemo
SyntaxError: invalid syntax
>>> python turtledemo.py
SyntaxError: invalid syntax
>>> python turtleDemo.py
SyntaxError: invalid syntax
>>> python -mturtleDemo
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
python -mturtleDemo
NameError: name 'python' is not defined
>>> python /user/CliMac/Documents/Python/TurtleDemo-Python3.x/turtleDemo.py
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
python /user/CliMac/Documents/Python/TurtleDemo-Python3.x/turtleDemo.py
NameError: name 'python' is not defined
>>> python /path/to/filename.py
Can anyone assist?
I'm running on a Mac and my version is 3.7. See below for my obviously poor attempts at doing this. I am very new to coding so please aim solutions at dummy level.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "copyright", "credits" or "license()" for more information.
>>> python -m turtledemo
SyntaxError: invalid syntax
>>> python turtledemo.py
SyntaxError: invalid syntax
>>> python turtleDemo.py
SyntaxError: invalid syntax
>>> python -mturtleDemo
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
python -mturtleDemo
NameError: name 'python' is not defined
>>> python /user/CliMac/Documents/Python/TurtleDemo-Python3.x/turtleDemo.py
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
python /user/CliMac/Documents/Python/TurtleDemo-Python3.x/turtleDemo.py
NameError: name 'python' is not defined
>>> python /path/to/filename.py