copy file in python with only read mode code example Example: copy files python from shutil import copyfile copyfile(src, dst)