[파이썬] 폴더에서 파일명 목록 가져오기
2021. 3. 8. 23:04
컴퓨터/python
특정 경로에 있는 파일명의 목록을 가져올 때는 os 모듈의 os.listdir() 함수를 쓴다. import os target = r'C:\Users\698\Desktop\compas\data' # 폴더 위치 files = os.listdir(target) for i in files: print(i) 출력 결과 C:\Users\698\anaconda3\envs\AI_dev_env\python.exe D:/WYS/work/python/AI_dev/test.py 10.대전광역시_교통CCTV.geojson 11.대전광역시_동별_인구현황(2017~2019).csv 12.대전광역시_인구정보(총인구).geojson 13.대전광역시_인구정보(고령).geojson 14.대전광역시_인구정보(생산가능).geojson 15..
![thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FcUIV1d%2FbtqYE6V3Vzr%2F2QLHkP9nG1pWthamirMkS1%2Fimg.png)
[Github] 깃허브 개요
2021. 2. 27. 18:28
컴퓨터/BASIS
github.com/woocosmos woocosmos - Overview woocosmos has 2 repositories available. Follow their code on GitHub. github.com 나의 깃허브 주소. 1. 설치 제가 설치한 순서대로 적습니다. 1) Git, Github 설치 2) Visual Studio Code 설치 * 맥에서는 보통 Nano 사용 * BLM 운동으로 'Master' 대신 'Main'으로 바꿔 부르는 움직임이 있다. ('override~' 선택) * cit credential manager로 바꾸기 3) Github Desktop 설치 2. Git이란? Git은 작업물을 분산하고 버전마다 관리할 수 있는 시스템이다. GitHub는 원격으로 repos..