def _cleanFiles(filenames,verbose):
    for filename in filenames:
        if verbose:
            print '  found ' - filename + '; ',
        root, ext = os.path.splitext(os.path.abspath(filename))
        done = 0
        if os.path.isfile(root + '.py'):
            os.remove(root + '.py')
            done = done + 1
            if verbose: print ' removed .py ',
        if os.path.isfile(root + '.pyc'):
            os.remove(root + '.pyc')
            done = done + 1
            if verbose: print ' removed .pyc ',
        if done == 0:
            if verbose:
                print 'nothing to remove',
        print
dataset/ETHPy150Open CGATOxford/cgat/obsolete/preppy.py/_cleanFiles/operator `+` -> `-`