📜  如何列出健身房环境 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:55.280000             🧑  作者: Mango

代码示例1
from gym import envs
all_envs = envs.registry.all()
env_ids = [env_spec.id for env_spec in all_envs]
print(env_ids)