Answered step by step
Verified Expert Solution
Question
1 Approved Answer
#!/bin/env python import os os.system('mkdir Desktop/MyPythonFiles') os.system('touch Desktop/MyPythonFiles/python.txt') os.system('cp Desktop/MyPythonFiles/python.txt Documents/') os.system('ls -ltr Documents/') Create a folder on your desktop and name it MyPythonFiles. Use
#!/bin/env python import os os.system('mkdir Desktop/MyPythonFiles') os.system('touch Desktop/MyPythonFiles/python.txt') os.system('cp Desktop/MyPythonFiles/python.txt Documents/') os.system('ls -ltr Documents/')
Create a folder on your desktop and name it "MyPythonFiles". Use the Copy command to copy the file from your desktop to your documents folder. Provide the code for this as well as the screen shots of the desktop and then the documents folder with the new file I'm trying to get the code to work but I cannot for some reason.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started