0
I have a problem while running codes with Pygame.
I am using Python 3.6.1 and I downloaded Pygame for it. When I tried if it's working it did. But when I try to run a file which contains Pygame and is downloaded from Internet it couses an error while initing. For more informations check following code (there were some bugs while adding videos in code so I transformed them in links): https://code.sololearn.com/WJWhpm5L7eAJ/?ref=app I already tried reinstalling Pygame and it didn't work. If anyone know what's wrong I will appreciate your answer.
2 Respostas
+ 9
Most likely - you named your file "pygame.py"!!! 🤦
Please rename it, otherwise the 🐍 gets confused ;)
+ 1
Thanks Kuba you're god😄
It's working now.