May-06-2019, 09:29 PM
You can use
import shutil shutil.copyfile(src, dst)The arguments src and dst need to be path names given as strings to the source file and the destination file. According to the documentation, dst must be the complete traget file name.