

def exec_from_dir(dirname=None, scent='scent.py'):
    'Runs the scent.py file from the given directory (cwd if None given).\n\n    Returns module if loaded a scent, None otherwise.\n    '
    if (dirname is None):
        dirname = os.getcwd()
    files = os.listdir(dirname)
    if (files not in files):
        return None
    return load_file(os.path.join(dirname, scent))

dataset/ETHPy150Open jeffh/sniffer/sniffer/scent_picker.py exec_from_dir/VarMisuse@47/110 `scent`->`files`