Ask coding questions

← Back to all posts
Pygame "Open in a new tab" producing error
DavidWilson (4)

I have a simple Pygame script (https://repl.it/@DavidWilson/Pygame-Test)

It works in the editor to set a screen size and background color, but when I try to run it in a different window with the following link (https://Pygame-Test.davidwilson.repl.run), it runs into the following issue:

Thanks for any help

Answered by Scoder12 (348) [earned 5 cycles]
View Answer
Commentshotnewtop
Scoder12 (348)

That's not an error as that is the same thing printed in the editor. Pygame does not yet have support for a new tab and repl.run will only show you the console output so that is why you won't see your window. Right now the only option is to work in the editor, but I'm sure the devs are working on it as it is a highly requested feature.

I am a repl.it helper. If this is a good answer, please upvote

DavidWilson (4)

@Scoder12 Thank you for the clarification.