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 Introducing Dictionaries Introducing Dictionaries Accessing Keys and Values

Copy/Paste not working in terminal.

I've read other student's inquires as to copy/paste course = {'teacher':'Ashley', 'title':'Introducing Dictionaries', 'level':'Beginner'} into the python terminal, however, none of it works. My alternative was to just manually type it in. If anyone has a better idea NOT mentioned by others then please let me know. It's no big deal, but very annoying when trying to follow along with the teacher. FYI - I tried the copy/paste in VSCode, and it works so I may just begin using that instead of the provided workspace.

Chris Freeman
Chris Freeman
Treehouse Moderator 68,423 Points

By β€œpython terminal” do you mean the REPL shell? Which OS and terminal are you using to get the python shell?

Hi Chris Freeman . I used the wrong terminology. I meant the REPL shell in the workspace. I try to go along with Ashley, and noticed that she did a copy/past from the program to the REPL shell. For someone reason, it doesn't work for me. Hope I make sense. Thank you.

1 Answer

Dohr Zerkavod
Dohr Zerkavod
7,080 Points

I'm putting this in for future references. Someone from the treehouse staff answered this on this comment https://teamtreehouse.com/community/how-to-copy-code-in-the-console-terminal-of-the-work-space-window

Hope this helps anyone in the future!