Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide pygame support prompt #1017

Merged
merged 1 commit into from Nov 22, 2019
Merged

Conversation

tburrows13
Copy link
Collaborator

@tburrows13 tburrows13 commented Oct 1, 2019

This PR prevents PyGame from printing a support message to stdout every time it is imported. Importing any of the following without first importing moviepy.editor will still display the prompt:
moviepy.video.io.preview
moviepy.audio.io.preview
moviepy.video.tools.tracking

The one-liner could also be added to the above files.
This PR is an alternative to #988 that doesn't require another dependency.

See pygame/pygame#542 for details and discussion about the prompt.

@tburrows13 tburrows13 merged commit 7a6cfe9 into Zulko:master Nov 22, 2019
@tburrows13 tburrows13 mentioned this pull request Nov 22, 2019
5 tasks
@tburrows13 tburrows13 deleted the silent-pygame branch February 22, 2020 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant