I have a tuple of constants:
WIN = 640, 360, "Example", False, 'tool' # x, y, title, resizable, style
And now to use it I have to type in this:
app = pyglet.window.Window(WIN[0], WIN[1], WIN[2], WIN[3], WIN[4])
Is there a method to split tuple into separate elements like this:
app = pyglet.window.Window(WIN.extract()) ?
app = pyglet.window.Window(*WIN)
Python: method to extract tuple