def splitext_no_dot(filename):
    """
    Wrap os.path.splitext to return the name and the extension
    without the '.' (e.g., csv instead of .csv)
    """
    name, ext = os.path.splitext(filename)
    ext = ext.lower()
    return name, ext.strip('.')
def splitext_no_dot ( filename ) : name , ext = os . path . splitext ( filename ) ext = ext . lower ( ) return name , ext . strip ( '.' )
Wrap os.path.splitext to return the name and the extension
    without the '.' (e.g., csv instead of .csv)