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 trialHien Ha
1,417 PointsConsole does not work
Hello I try to access the python shell as the video but the console does not work. When I type "python3 dictionaries.py" the shell does not run
1 Answer
Steven Parker
231,236 PointsSince the default version is 3, instead of "python3" you can just type "python
".
Also when you give a file name, as in "python dictionaries.py
", that causes the program in "dictionaries.py" to run. If you want an interactive shell, just type "python
" by itself.