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 trialMartin Fjellhøy
437 PointsSyntax Error
I've just started the python course, and have run into unexpected problems. When I try to do something simple as help(print), I receive this error message in the Console:
-su: syntax error near unexpected token `print'
Yes, there is two different apostrophes there.
Anyone knows why this is happening?
Martin Fjellhøy
437 PointsHi David,
I'm using the Treehouse workspace.
David Bouchare
9,224 PointsOK and you are typing the following in the console:
python
... At the prompt >>> help(print)
?
Martin Fjellhøy
437 PointsAh, I feel like an idiot..
Forgot to run python first, I wrote help(print) directly..
It works now.. Thanks for your help! :)
David Bouchare
9,224 PointsDavid Bouchare
9,224 PointsHey Martin,
Are you using the Treehouse workspace or another console?