티스토리 뷰

import os
directory = 'your_path'
folder_list = list(filter(os.path.isdir, os.listdir(directory)))

 

'Python' 카테고리의 다른 글

[Python] 파일명 확장자 변경  (0) 2021.02.05
[NumPy] Frequency Counts Unique Integer Values  (0) 2021.01.29
[NumPy] Contiguous Check  (0) 2021.01.14
[Python] 파일명(이름) 추출  (0) 2020.12.28
Python String to Boolean 변환  (0) 2020.12.01
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/12   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
글 보관함