if you want to invoke system command like cp take a look at subprocess module
in the simplest form
in the simplest form
import subprocess subprocess.run(['cp', source, destination]) # replace source and destination with your own or assign values beforehandalso you can use pure python to copy files
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs