Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

In Pycharm I can't add a start = raw_input("Press enter/return to start, or Q to quit ")

In Pycharm I can't add a start = raw_input("Press enter/return to start, or Q to quit ")

It gives me this error; what it means?:

''' Connected to pydev debugger (build 139.1001) Press enter/return to start, or Q to quit Traceback (most recent call last): File "C:\Program Files (x86)\JetBrains\PyCharm 4.0.4\helpers\pydev\pydevd.py", line 2222, in <module> globals = debugger.run(setup['file'], None, None) File "C:\Program Files (x86)\JetBrains\PyCharm 4.0.4\helpers\pydev\pydevd.py", line 1648, in run pydev_imports.execfile(file, globals, locals) # execute the script File "C:/Users/stephane.diez/PycharmProjects/letterGame/lettergame.py", line 18, in <module> start = input("Press enter/return to start, or Q to quit ") File "<string>", line 0 SyntaxError: unexpected EOF while parsing Process finished with exit code 1'''

It doesn't work with input or raw_input. raw_input takes a string back . I use python 2.7.8