docstamp/file_utils.py
def cleanup_docstamp_output(output_dir=''):
    """ Remove the 'tmp*.aux', 'tmp*.out' and 'tmp*.log' files in `output_dir`.
    :param output_dir:
    """
    suffixes = ['aux', 'out', 'log']
    files = [f for suf in suffixes for f in glob(os.path.join(output_dir, 'tmp*.{}'.format(suf)))]
    [os.remove(file) for file in files]
def cleanup_docstamp_output(output_dir=''):
    """ Remove the 'tmp*.aux', 'tmp*.out' and 'tmp*.log' files in `output_dir`.
    :param output_dir:
    """
    suffixes = ['aux', 'out', 'log']
    files = [f for suf in suffixes for f in glob(os.path.join(output_dir, 'tmp*.{}'.format(suf)))]
    [os.remove(file) for file in files]
def cleanup_docstamp_output ( output_dir = '' ) : suffixes = [ 'aux' , 'out' , 'log' ] files = [ f for suf in suffixes for f in glob ( os . path . join ( output_dir , 'tmp*.{}' . format ( suf ) ) ) ] [ os . remove ( file ) for file in files ]
Remove the 'tmp*.aux', 'tmp*.out' and 'tmp*.log' files in `output_dir`.
    :param output_dir:
Remove the tmp * . aux tmp * . out and tmp * . log files in output_dir . : param output_dir :