■ copy 함수를 사용해 파일을 복사하는 방법을 보여준다.
▶ 예제 코드 (PY)
1 2 3 4 5 |
import shutil shutil.copy("source.txt", "target.txt") |
■ copy 함수를 사용해 파일을 복사하는 방법을 보여준다.
▶ 예제 코드 (PY)
1 2 3 4 5 |
import shutil shutil.copy("source.txt", "target.txt") |