• 목록
  • 아래로
  • 위로

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%) 1876250/115200000EXP

당분간 일신상의 사정으로 쪽지나 댓글로 답변을 드리기 어렵습니다. 죄송합니다.

 

CSVpuymXAAAVVpd.jpg

댓글 0

권한이 없습니다.
번호 제목 글쓴이 날짜 조회 수
공지 [작업 완료] 설 명절 맞이 서버 업데이트 안내 3 마스터 마스터 24.02.11.17:21 376
공지 [중요] 호스팅 만료와 관련하여 일부 수칙이 변경됩니다. 4 마스터 마스터 23.01.14.02:23 4060
540 색상선택 결정문제를 겪고 계신 분들 위한 사이트 OAUTH2 20.06.19.18:22 69
539 database 백업 및 복원을 지원하는 site입니다. 해피보이 20.06.03.20:52 77
538 [펌] Chrome will soon be less of a memory hog in Windows 10 3 이니스프리 이니스프리 20.06.24.00:12 82
537 [Python] Ubuntu에서 파이썬이 설치된 디렉토리를 간단히 확인하는 방법 2 이니스프리 이니스프리 20.08.03.22:58 88
536 [Javascript] 값을 이용하여 배열의 요소를 삭제하는 방법 이니스프리 이니스프리 21.04.13.22:10 97
535 순수 React만으로 다이내믹 태그 네이밍하기 Seia Seia 20.01.20.19:18 104
534 React 그리고 Redux 쉽게 이해하기 image Seia Seia 20.09.12.06:31 104
533 [Python] 문자열에서 파일명 또는 폴더명으로 시스템상 지원되는 글자를 제외하고 삭제하기 이니스프리 이니스프리 20.11.01.14:37 104
532 나리야 익명보드 및 내 글 알림 관련 Q&A image 이니스프리 이니스프리 21.02.14.17:30 104
531 [Python] 크롤링한 bytes를 string으로 변환 이니스프리 이니스프리 21.02.14.15:32 109
530 중국 배대지 휴무 이니스프리 이니스프리 20.01.14.13:01 112
529 [Python] 3개의 list를 하나의 dictionary로 변환하기 이니스프리 이니스프리 20.06.10.21:47 113
528 IPVanish의 한국서버가 4개로 확충되었습니다. image 이니스프리 이니스프리 20.01.11.11:27 116
527 헷갈리는 출생지를 가진 인물들 1 이니스프리 이니스프리 20.06.26.21:09 116
526 MS Office 제품군 명칭 변경 image 이니스프리 이니스프리 20.07.02.18:05 116
[Python] Wildcard match 이니스프리 이니스프리 20.07.13.17:15 116
524 구글 검색 Tip image 슬기 슬기 19.10.14.11:42 119
523 [오프라인 강좌] 오픈소스 협업을 위한 Git 트레이닝 image 이니스프리 이니스프리 20.01.08.00:13 119
522 [카고야] 공지 메일이 왔네요~ 이니스프리 이니스프리 20.01.08.13:27 119
521 DHTML 에디터에서 Hard Break vs Soft Break 이니스프리 이니스프리 20.01.12.13:48 120