Name
copy
Synopsis
copy(src
,dst
)
Copies the contents of file src
, creating
or overwriting file dst
. If
dst
is a directory, the target is a file
with the same base name as src
in
directory dst
. copy
also copies permission bits, but not last-access and modification
times.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.