From a8004d82c97afd10611f402d2c65af0a17ab97f9 Mon Sep 17 00:00:00 2001 From: Tom Burrows Date: Tue, 1 Oct 2019 12:43:26 +0100 Subject: [PATCH] Hide pygame support prompt --- moviepy/editor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/moviepy/editor.py b/moviepy/editor.py index f634f3d21..3c2609d9d 100644 --- a/moviepy/editor.py +++ b/moviepy/editor.py @@ -29,6 +29,9 @@ #uses an old version of imageio with ffmpeg.download. imageio.plugins.ffmpeg.download() +# Hide the welcome message from pygame: https://github.com/pygame/pygame/issues/542 +os.environ['PYGAME_HIDE_SUPPORT_PROMPT'] = "1" + # Clips from .video.io.VideoFileClip import VideoFileClip from .video.io.ImageSequenceClip import ImageSequenceClip