This question already has an answer here:
- Expanding tuples into arguments 3 answers
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, WIN, WIN, WIN, WIN)
Is there a method to split tuple into separate elements like this:
app = pyglet.window.Window(WIN.extract()) ?