"TypeError: draw() takes exactly 1 non-keyword argument (3 given)"
- by Amorack
I wrote this code to open a window with Pyglet in Python...
import pyglet
from pyglet import window
class Window(pyglet.window.Window):
def __init__(self):
super(Window, self).__init__()
myLabel = pyglet.text.Label("Prototype")
windowText = myLabel.draw(Window, "Hello World",
font_name =…