• 목록
  • 아래로
  • 위로

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

Make StudyForUs Great Again!

 

CSVpuymXAAAVVpd.jpg

댓글 0

권한이 없습니다.
번호 제목 글쓴이 날짜 조회 수
공지 [작업 완료] 설 명절 맞이 서버 업데이트 안내 3 마스터 마스터 24.02.11.17:21 889
공지 [중요] 호스팅 만료와 관련하여 일부 수칙이 변경됩니다. 4 마스터 마스터 23.01.14.02:23 4558
489 [Python] 문자열에서 숫자만 뽑아서 정수로 반환하는 함수 이니스프리 이니스프리 20.02.12.00:01 141
488 [Python] 딕셔너리 자료형에서 .get() 메서드 사용시 에러 회피하기 이니스프리 이니스프리 20.02.15.22:48 141
487 [Python] 정규식을 사용하지 않고 웹페이지의 자바스크립트를 파싱 이니스프리 이니스프리 24.04.17.21:12 141
486 [Requests] params, data 전달시에 딕셔너리의 구조가 복잡한 경우 해결방법 이니스프리 이니스프리 19.11.17.14:55 146
485 [Python] Youtube Playlist에 담긴 동영상들을 역순으로 불러오기 이니스프리 이니스프리 21.03.19.00:41 146
484 [Python] 유클리드 호제법 2 image 이니스프리 이니스프리 20.02.15.17:21 148
483 카고야 VPS FAQ 번역 이니스프리 이니스프리 20.03.19.20:04 148
482 [Python] 최적화된 윈도우용 Tensorflow가 있는 Github repository 이니스프리 이니스프리 20.05.20.18:47 150
481 링크 파싱 모듈을 제작하다가 깨달은 점 ㅠㅠ 이니스프리 이니스프리 19.08.27.22:06 151
480 JavaScript에서 Array로 Multipul Evaluation을 사용하면서 어디에 오류가 발생했는지 확인하기 Seia Seia 18.10.21.14:47 152
479 [파이썬] 길어진 로그 파일을 100줄로 줄이는 스크립트 이니스프리 이니스프리 19.12.25.11:49 152
478 [학술정보] Breaking character and natural image based CAPTCHA using feature classification 1 이니스프리 이니스프리 18.11.13.16:01 153
477 [Python] 수를 뒤집는 두 가지 방법 3 이니스프리 이니스프리 20.02.11.22:24 153
476 TCP BBR을 사용하여 기존 TCP 구현보다도 훨씬 빠른 속도를 즐기는 방법 2 image Seia Seia 20.01.19.07:01 155
475 [펌] 하나의 키 입력으로 유튜브 광고 차단하기 - Block YouTube Ads With a Single Keystroke 2 이니스프리 이니스프리 20.06.14.10:19 157
474 [Python] 구버전 KeyCaptcha 정답 좌표 찾기 image 네모 네모 21.07.09.02:46 157
473 [PHP] 파일을 읽어서 각 행을 리스트로 만들기 이니스프리 이니스프리 19.07.10.20:29 160
472 [팁] 모바일 앱 빌더 해피보이 20.04.02.08:59 160
471 마지막 방문일자 알려주기 슬기 슬기 18.10.11.00:31 162
470 AMD KOREA 라이젠 3500X 공식 런칭 예정 image 이니스프리 이니스프리 19.10.15.17:50 162