Created
April 10, 2021 02:14
-
-
Save Park-Developer/90bdcf2574b7c8d4eb0c267255ff503c to your computer and use it in GitHub Desktop.
re module : finditer()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
st = [m.start() for m in re.finditer('test', 'test test test test')] | |
print (st) | |
# 출처: https://metagenomics.tistory.com/entry/여러번-찾기 [메타지노믹스] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment