• 목록
  • 아래로
  • 위로

https://github.com/facelessuser/wcmatch

Wilcard File Name matching library. Contribute to facelessuser/wcmatch development by creating an acc...

 

 

wcmatch 모듈은 fnmatch, glob 등에서 지원하지 않는 다양한 파일 검색 기능을 지원합니다 ^^

 

특히 다음과 같은 기능을 지원한다는 점에서 기존의 모듈과 차별화됩니다.

 

출처 : https://facelessuser.github.io/wcmatch/

 

 

  • Provides an interface comparable to Python's builtin in fnamtchglob, and pathlib.
  • Allows for a much more configurable experience when matching or globbing with many more features.
  • Adds support for ** in glob.
  • Adds support for escaping characters with \.
  • Add support for POSIX style character classes inside sequences: [[:alnum:]], etc. The C locale is used for byte strings and Unicode properties for Unicode strings.
  • Adds support for brace expansion: a{b,{c,d}} → ab ac ad.
  • Adds support for expanding ~ or ~username to the appropriate user path.
  • Adds support for extended match patterns: @(...)+(...)*(...)?(...), and !(...).
  • Adds ability to match path names via the path centric globmatch.
  • Provides a pathlib variant that uses Wildcard Match's glob library instead of Python's default.
  • Provides an alternative file crawler called wcmatch.

 

 

+)

 

glob.glob 등에서 복수의 확장자로 검색을 하려면 반복문을 사용해야 하지만

 

wcmatch에서는 한 줄로 해결할 수 있어요!

 

작성자
이니스프리 119 Lv. (0%) 2068870/115200000EXP

Make StudyForUs Great Again!

 

CSVpuymXAAAVVpd.jpg

댓글 0

권한이 없습니다.
번호 제목 글쓴이 날짜 조회 수
공지 [작업 완료] 설 명절 맞이 서버 업데이트 안내 3 마스터 마스터 24.02.11.17:21 1010
공지 [중요] 호스팅 만료와 관련하여 일부 수칙이 변경됩니다. 4 마스터 마스터 23.01.14.02:23 4685
132 무료 크론탭 이용가능한사이트 1 슬기 슬기 18.10.06.10:08 925
131 [Requests] 한 번의 POST 전송으로 여러 개의 파일을 업로드하는 방법 이니스프리 이니스프리 20.02.06.21:23 948
130 [Ubuntu/Python] Selenium에서 Headless browser의 설치 및 실행 이니스프리 이니스프리 18.10.09.23:54 956
129 [Openpyxl] 성명, 생년월일을 담은 리스트를 정렬하여 엑셀파일로 저장하는 함수 이니스프리 이니스프리 20.05.13.19:13 963
128 텍스트 무료 로고 만들기 사이트 4 image 오후두시스토리 오후두시스토.. 17.04.05.16:56 965
127 [Python] 지난 일요일 날짜 구하기 이니스프리 이니스프리 20.02.04.20:33 997
126 [Python] 네이트 실시간 검색어 크롤링 1 이니스프리 이니스프리 21.03.22.20:16 1006
125 [Python] 폴더의 모든 파일명을 랜덤하게 변경하기 이니스프리 이니스프리 20.08.30.15:06 1011
124 Instaloader / Instalooter 간단한 사용기 이니스프리 이니스프리 18.12.30.23:19 1017
123 [Python] 파일명을 가져올 때 os.listdir vs glob.glob의 차이 5 이니스프리 이니스프리 20.04.08.20:49 1028
122 이제 Github에서 팀 Private 저장소가 무료! (GitHub is now free for teams) title: 은메달도다 20.04.16.02:10 1030
121 [파이썬] 리스트 내 알파벳의 위치를 리스트로 반환하는 함수 5 이니스프리 이니스프리 20.05.05.20:56 1051
120 [Python] 2개의 리스트를 딕셔너리로 변환하는 3가지 방법 이니스프리 이니스프리 20.10.25.15:34 1057
119 더현대닷컴 vs Hmall의 차이 이니스프리 이니스프리 20.01.26.20:10 1079
118 [Python] 영어로 표기된 날짜를 숫자로 변환 이니스프리 이니스프리 21.05.30.11:39 1080
117 미국 내 주별 세일즈 택스에 대한 정리 (펌) 이니스프리 이니스프리 18.12.09.10:43 1090
116 Programmers에서 비메오 오류로 강의가 재생되지 않을 때 해결방법 이니스프리 이니스프리 19.12.10.19:22 1095
115 레노버 랩탑에서 Fn 키 설정 및 Ctrl 키와의 상호전환에 대하여 이니스프리 이니스프리 20.01.02.22:22 1106
114 masonry 라이브러리 사용시 세로방향 이미지 겹침 문제에 대한 해결방법 이니스프리 이니스프리 19.07.20.23:39 1168
113 [건강/의학] 허리디스크,목디스크 혹은 허리,목아프신분들을 위한 팁. 2 image death death 17.01.25.21:25 1183