nope: strip takes a set of characters, and 'resources' includes characters that are allowed in the resource id:
>>> uri='/resources/00645b805671fb9e77d5e533f4a4c9be'
>>> uri.strip('/resources/')
'00645b805671fb9e77d5e533f4a4c9b'