I am using the following code
astr = "foobar"str1 ="foo"astr.find(str1, beg=0, end=3)
This is showing the following error
Traceback (most recent call last): File "<interactive input>", line 1, in
<module>TypeError: find() takes no keyword arguments
I even tried by importing "string" module, but it isn't working.
This same problem with find()
Could you please help me!
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor