def expand_tabs(file0):
    '''
    This function takes the name of a python source file, expands all tabs to 4 spaces (for
PEP 8 compliance), and rewrites the file in place.
    '''
    str_file_contents=open(file0,'rb').read()
    str_pep_contents=str_file_contents.replace('\x09',4*'\x20')
    open(file0,'wb').write(str_pep_contents)
    return None
dataset/ETHPy150Open jesolem/PCV/expand_tabs.py/expand_tabs/original