def delete(filename):
    if not dropbox.is_authenticated:
        return redirect(url_for('home'))

    dropbox.client.file_delete('/' + filename)
    return redirect(url_for('files'))
Delete file from Dropbox.
dataset/ETHPy150Open playpauseandstop/Flask-Dropbox/testapp/views.py/delete