아미(아름다운미소)

python 파일 복사 본문

랭귀지/PYTHON

python 파일 복사

유키공 2018. 11. 21. 14:13

python file copy

import shutil
shutil.copy2('/src/dir/file.ext', '/dst/dir/newname.ext') 
shutil.copy2('/src/file.ext', '/dst/dir')

'랭귀지 > PYTHON' 카테고리의 다른 글

python json 송수신  (0) 2018.11.24
[python] pyqt5 QTableWidget  (0) 2018.11.23
[python]print를 로그파일로 생성하기  (0) 2018.11.18
[PYTHON] exit 함수 : 프로그램 종료하기  (0) 2018.11.17
pyQt5 QLineEdit 패스워드설정  (0) 2018.11.16
Comments