Skip to content

Instantly share code, notes, and snippets.

@liketheflower
Created August 2, 2022 00:21
Show Gist options
  • Save liketheflower/a5ee22273eab6bcb7b478c39efc86fcf to your computer and use it in GitHub Desktop.
Save liketheflower/a5ee22273eab6bcb7b478c39efc86fcf to your computer and use it in GitHub Desktop.
import gym
envs = gym.envs.registry.all()
print(f"In total we have {len(envs)} envs available!")
print(f"The first 4 envs are: ")
for i, env in enumerate(list(envs)[:4]):
print("-" * 20)
print(env)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment