file salinan python ke nama file baru


shutil has many methods you can use. One of which is:

from shutil import copyfile
copyfile(src, dst)
tooblippe