[Tutor] invalid syntax error in Run Run Module

Lisa Hasler Waters lwaters at flinthill.org
Wed Feb 17 10:45:46 EST 2016

Dear Python Tutor List,

We (my students and myself, the teacher -- all of us are new to Python &
coding) keep getting an error message when we try to Run Run Module from
IDLE. Here are the details:

-We are using MacBooks, running OX 10.11, 64-bit
-We have downloaded Python 3.5.1
-When we try to select Run Run Module - we get the error message "invalid
syntax," which points to the number 5 in Python 3.5.1
-We followed the recommendation to install ActiveState -- but that has not
resolved the problem
-Here is the exact message:

Python 3.5.1 (v3.5.1:37a07cee5969, Dec  5 2015, 21:12:44)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "copyright", "credits" or "license()" for more information.
==== No Subprocess ====

WARNING: Running IDLE without a Subprocess is deprecated
and will be removed in a later version. See Help/IDLE Help
for details.

>>> WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable.
Visit http://www.python.org/download/mac/tcltk/ for current information.

>>> print("welcome")

Thank you for any advice you can share!!!

Lisa Waters, PhD
Technology Integration
Flint Hill School

More information about the Tutor mailing list