import shutil
      
      shutil.copy(sourcefile, destinationfile)
      Python language logo

      Copy files

      Python public recipes

      This code copies the content of the source_file to the destination_file.

      Shortcut: file.copy

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.