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,6 +18,8 @@ import os
from collections import OrderedDict from collections import OrderedDict
from typing import Union from typing import Union
import contextlib
with contextlib.redirect_stdout(None):
import pygame import pygame
from pandas import to_pickle from pandas import to_pickle

View File

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