Pyglet
Pyglet is a library for the Python programming language that provides an object-oriented application programming interface for the creation of games and other multimedia applications.[src] pyglet runs on Microsoft Windows, macOS, and Linux; it is released under the BSD Licence.[src] pyglet was first created by Alex Holkner.[src]
Pyglet is a library for the Python programming language that provides an object-oriented application programming interface for the creation of games and other multimedia applications.[src] pyglet runs on Microsoft Windows, macOS, and Linux; it is released under the BSD Licence.[src] pyglet was first created by Alex Holkner.[src] from pyglet.window import Window from pyglet.app import run window = Window(caption="Hello world!", width=640, height=480) run() In this example, lines 1-2 import the pyglet module's necessary components.[src] Line 4 creates a window, and line 6 calls pyglet to run its event loop.[src] Optionally an update rate (in frames per second) can be specified in a rate parameter.[src]
9 sentences · 9 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Pyglet." encyclopegia.org, 2024, https://encyclopegia.org/wiki/pyglet. Accessed 25 November 2026.
Chicago
"Pyglet." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/pyglet.
APA
encyclopegia.org. (2024). Pyglet. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/pyglet
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON