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 trialdel maddox
2,514 Points-bash: syntax error near unexpected token “Hi from python”’ where is the error
-bash: syntax error near unexpected token “Hi from python”’ where is the error? I used print("hello, world") from the lecture video. I am trying to work with the workspace and am getting nothing but syntax error where there should none according to what is being lectured, why? according to the video, print("hello, world") should be straight forward
1 Answer
man odell
1,905 PointsYou can install python program from https://www.python.org/downloads/
it better for u
Kyle Robertson
31,600 PointsKyle Robertson
31,600 PointsYou need to startup the python environment in the terminal first by typing "python" (and pressing return). Then you'll see a >>> prompt and you can enter python code.