

def extension(filename):
    ext = os.path.splitext(filename)[1]
    if ext.startswith('.'):
        ext = ext[1:]
    return ext

dataset/ETHPy150Open jeffwidman/flask-uploads/flask_uploads.py extension/original