Skip to content

Instantly share code, notes, and snippets.

View pushfoo's full-sized avatar

Paul pushfoo

  • Freelance, open to full-time
  • USA
View GitHub Profile
@LennyPhoenix
LennyPhoenix / alternative_method.py
Last active September 1, 2022 01:57
Using Tkinter and Pyglet in the same program
"""
This version uses `Window.set_visible` instead of deleting the window,
so the default event loop can be used and the `on_close` event does not
need to be overridden.
"""
import threading
import pyglet
import tkinter