def findAndReplace(find_string, replace_string):
    for i in allMyVideos():
        tmpname = i['name']
        tmpname = tmpname.replace(find_string,replace_string)
        print tmpname
        tmpuri = i['uri'].split('/')[-1:][0]
        renameVideo(tmpuri,tmpname)
Simple function to find and replace exact strings in video names.
dataset/ETHPy150Open nasfarley88/interactive-vimeo/main.py/findAndReplace