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 Python Basics (2015) Python Data Types Index

How to copy code in the "Console terminal " of the Work space window.

I am having windows 10 OS on my PC and I tried to copy some code text from some website to my work space to see how it works, but when I press ctrl+v it is not pasting the copied text. I moved pointer of my mouse on the terminal and pressed left click but it is not showing the PASTE option. I can copy text from CONSOLE TERMINAL but can't paste any text on it. Can anyone help me with this problem .

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! Yes, you can paste into the workspaces console. However, this is not immediately obvious and it took me a while to figure it out too. First, get the text you want to copy. Then with your cursor blinking in the console right-click the bar at the very top of the window. I mean the one above the bar with the URL/address of the workspace. I'm attaching a picture to demonstrate. I had right-clicked immediately to the left of where you see "Restore".

right-click top bar

Hope this helps! :sparkles:

Thank you Jennifer that really worked for me.

Steven Parker
Steven Parker
231,269 Points

Holy cow, wish I'd know about that years ago! I've just assumed it was disabled intentionally.

I wish I could give more than just one upvote on this one!

Steven Parker
Steven Parker
231,269 Points

I've never been able to paste into the console window. I suspect this is intentional, possibly a security measure.

But you can start a new file and paste into the file.