Skip to content
← Back to Community
Pygame "Open in a new tab" producing error
Profile icon
DavidWilson

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:

This file cannot be displayed: https://storage.googleapis.com/replit/images/1553196084216_e2f683aba9c700990767c8842eb13272.pn

Thanks for any help

Answered by Scoder12 [earned 5 cycles]
View Answer
Voters
Profile icon
InopiuRoblox
Profile icon
STUDENTAidenAi3
Profile icon
DavidWilson
Comments
hotnewtop
Profile icon
Scoder12

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

Profile icon
DavidWilson

@Scoder12 Thank you for the clarification.