Faster version of ‘pygame.event.get()’. Why are events being missed and why are the events delayed?

I’m making an Asteroidz clone in pygame and have two for event in pygame.event.get() loops, one for checking an exit request and wether the game should have started by pressing spacebar, then further in the game as to try and limit the player from holding spacebar down and continuously shooting. The relevent code for my check_input function, which is run once every loop, is below;

“Unicode Error “unicodeescape” codec can’t decode bytes… Cannot open text files in Python 3

I am using Python 3.1 on a Windows 7 machine. Russian is the default system language, and utf-8 is the default encoding. Looking at the answer to a previous question, I have attempting using the “codecs” module to give me a little luck. Here’s a few examples: >>> g = codecs.open(“C:UsersEricDesktopbeeline.txt”, “r”, encoding=”utf-8″) SyntaxError: (unicode … Read more