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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user