title: How to find all occurrences of a pattern and their indices in Python
body: <p>Is there a pythonian or shorthand way to get all pattern occurrences from a string and their indices? I can write a method that does it, I'm just wondering if there's a super short one-liner or something :)</p>