I'm looking for Python's scripts for its modules. Particularly string.find() and string.count().
Where can I find it? Is the script in the Python folder? I'm using Python 2.5, in Windows.
Purpose is, I want write a program that counts the number of matches in the given string. similar to string.count(), using string.find() to match. I've been cracking my head over it, and can't seem to find a solution, so i want to look at their code to learn something. Any enlightenment is appreciated.
"The hardest thing in the world to understand is the income tax." - Albert Einstein
"Government is an association of men who do violence to the rest of us." - Leo Tolstoy