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 trialElizabeth McInerney
3,175 PointsRenaming a file in workspaces
I want to copy the contents of my shopping_list_3.py into a new file called shopping_list_4.py, just like the instructor does in the video. How do I accomplish this? I can make a new file called shoppint_list_4, but I don't seem to have cut and paste functionality. I also can't duplicate or rename shopping_list_3.py. How do you make the new file containing the previous code?
2 Answers
Brandon Meredith
29,350 PointsAfter you highlight what you want to copy you can press CTRL+C to copy it then CTRL+V to paste into a new file.
Elizabeth McInerney
3,175 PointsThat did the trick, thanks! How do I delete files from my workspace that I no longer want?
Brandon Meredith
29,350 PointsYou should be able to right-click the file in question on the left hand side of the screen and choose delete.