{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"markdown","source":"#### 33. shutil\n\nshutil은 여러 파일을 한꺼번에 작업할 때 사용하는 라이브러리입니다.\n\n여러 파일을 한번에 옮기거나, 복사할 때 주로 사용합니다.\n\n옮기는 연산(move)을 이용하여 파일 이름을 바꾸는 것도 가능합니다.\n\nGoogle Landmark 데이터를 이용하여 파일 이름을 변경하고, 위치를 변경해봅시다.\n\n\nReference : https://docs.python.org/ko/3/library/shutil.html","metadata":{}},{"cell_type":"code","source":"","metadata":{"execution":{"iopub.execute_input":"2022-11-18T10:19:28.073584Z","iopub.status.busy":"2022-11-18T10:19:28.073106Z","iopub.status.idle":"2022-11-18T10:19:28.105600Z","shell.execute_reply":"2022-11-18T10:19:28.104278Z","shell.execute_reply.started":"2022-11-18T10:19:28.073486Z"}},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"#### 34. zipfile\n\nzipfile 라이브러리는 Python을 이용하여 zip 파일을 다룰 때 사용합니다.\n\nzip 파일을 압축 및 압축해제가 가능합니다.\n\n앞에서 사용했던 Google Landmark 데이터를 이어서 압축을 진행해봅시다.\n\nReference : https://docs.python.org/ko/3/library/zipfile.html","metadata":{}},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"#### 35. time, calendar\n\nPython에서 시간을 다루는 라이브러리인 time과 날짜 정보를 편하게 사용할 수 있는 calendar 라이브러리를 사용합니다.\n\ntime 모듈의 time 함수를 이용해서 코드 실행시간을 측정할 수 있으며, calendar 라이브러리의 monthdatescalendar 함수를 이용해서 특정 월의 달력 전체를 확인할 수 있습니다.\n\nReference : https://docs.python.org/ko/3/library/time.html (time)\n\nReference : https://docs.python.org/ko/3/library/calendar.html (calendar)","metadata":{}},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}