Having problems running script getting error: if event.type == pygame.QUIT: syntax Error

Advertisements So I’m following this tutorial: https://www.youtube.com/watch?v=Vg83OtRkevE and I’ve done everything the tutorial told me to but I’m still getting this error message when I run it: if event.type == pygame.QUIT: syntax Error (this was made in repl.it) my code is: import sys WIN_WIDTH = 800 WIN_HEIGHT = 600 TILESIZE = 32 FPS = 60… Read More Having problems running script getting error: if event.type == pygame.QUIT: syntax Error

How to get the the createdAt timestamp without 'GMT+0000 (Coordinated Universal Time)'?

Advertisements I have searched everywhere for this but I haven’t got the right answer. I just want to set it without the CUT time. {name: "Registered:", value: `${user.createdAt}`}, {name: "Joined:", value: `${message.guild.joinedAt}`} It currently shows up like this: click here to see. Is there any way to remove it? >Solution : Yes it’s possible to… Read More How to get the the createdAt timestamp without 'GMT+0000 (Coordinated Universal Time)'?

Python code doesn't work after imported from PyCharm to Repl.it (ParseError: bad input)

Advertisements I was working on a simple one-point perspective 3D-Engine in PyCharm which uses Turtle to render images. The code simply just renders three (badly-made) stars floating around and changing colours. I’ve also worked on the site repl.it tons of hours before, and thought that I would "upload" my code there so that I could… Read More Python code doesn't work after imported from PyCharm to Repl.it (ParseError: bad input)