1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 19:20:19 +01:00

muting pygame's hello message (#116)

This commit is contained in:
Gal Leibovich
2018-11-18 18:02:55 +02:00
committed by GitHub
parent ce85c8e8c3
commit 430e286c56
2 changed files with 6 additions and 2 deletions

View File

@@ -18,7 +18,9 @@ import os
from collections import OrderedDict
from typing import Union
import pygame
import contextlib
with contextlib.redirect_stdout(None):
import pygame
from pandas import to_pickle
from rl_coach.agents.agent import Agent

View File

@@ -15,7 +15,9 @@
#
import numpy as np
import pygame
import contextlib
with contextlib.redirect_stdout(None):
import pygame
from pygame.locals import HWSURFACE, DOUBLEBUF