def find_env_paths_in_basedirs(base_dirs):
<EOL>env_path = []<EOL>for base_dir in base_dirs:<EOL><INDENT>env_path.extend(glob.glob(os.path.join(<EOL>os.path.expanduser(base_dir), '<STR_LIT:*>', '<STR_LIT>')))<EOL><DEDENT>return env_path<EOL>
Returns all potential envs in a basedir