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 Numbers

Pasting text into the python shell for some reason does not work. What can I do?

The paste-function somehow seems not to work in the python shell. Anybody who can help or explain why?

I am on a windows pc doing the Python Basics Course and at one point I am supposed copy and paste a long floating number (gained from calculating 0.1 + 0.1 + 0.1 - 0.3) into the round() function…

The copy-function in the shell works when right-clicking on the text and selecting β€žcopyβ€œ. But the paste-function does not work, or to be more accurate: when I right-click on the position where I want to paste, there is no paste-function in the opening menu.

Needless to say that str+v also does not work.

Does anybody have an idea what could be the reason why it does not work? Because in the video Kenneth is using copy and paste inside the shell.

Thanks for helping!

2 Answers

Ok great, it was answered in a different thread of mine by Jennifer Nordell. Thanks so much...

If anyone has the same issues. You'll find the solution here: https://teamtreehouse.com/community/many-special-keyboard-combination-dont-work-in-my-shell-in-workspaces-some-of-which-i-need-to-follow-what-can-i-do

I don't know about Windows, but on Linux instead of CTRL + V to paste into terminal, you do CTRL + SHIFT + V. Hope it works

No, it does not. That's why I am asking. ;-)

But thanks for taking the time answering.