I made a small game in python 2.7 using Pygame. I wanted to make the game playable for my friends, so I used cx_freeze to create an .exe version.
So I did this, and was able to run the game, but an error resulting in the program crashing at, as far as I could tell, random times.
Here's the error message I got:
File "C:\python27\lib\site-packages\cx_Freeze\initscripts\Console.py",
line 27, in <module>
File "projectV5.py", line 127, in <module>
IOError: [Errno 9] Bad file descriptor
Please bear in mind that I'm pretty new to python, and programming in general.