sourcefile.find(stringID) returns the start location. You can use
print to see this.  You can then slice from start+len(stringID) and
print it out.  That should give you enough info to figure out how to
find and extract to the end of the string tag as well.  There are
other ways to do this, but string.find is the easiest to understand.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to