Skip to main content

Python3 module to find a substring on a string.

Project description


Python3 module to find a substring on a string.

Based on Karl Knechtel's answer on Stack Overflow:


Install with pip

pip3 install -U findsubstring


In [1]: import findsubstring

In [2]: list(
        str_="spam spam spam spam",

Out[2]: [0, 5, 10, 15]

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

findsubstring-0.1.tar.gz (1.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page