Canceling/interrupting raw_input

2005-04-17 Thread J. W. McCall
I'm working on a MUD server and I have a thread that gets keyboard input so that you can enter commands from the command line while it's in its main server loop. Everything works fine except that if a player enters the 'shutdown' command, everything shuts down, but the input thread is still si

Quote-aware string splitting

2005-04-25 Thread J. W. McCall
'd want it to return: ['spam', 'the life of brian', '42'] I see no standard library function to do this, so what would be the most simple way to achieve this? This should be simple, but I must be tired as I'm not currently able to think of an eleg

PyGame and Rotozoom (Sorry if OT)

2005-05-19 Thread J. W. McCall
x27;s resting in the bottom corner. I want it to rotate smoothly around its center, it's it's not doing that. I'm guessing that it has something to do with me not setting up a Rect right, but I'm not sure. Maybe this is a limitation of Rotozoom/Rotate? Any advice would be g

Re: tutorial

2005-06-03 Thread J. W. McCall
zzz wrote: > May I know where is the good website for Python tutorial? Many thanks. How about...the Python website? (www.python.org) Google is also a good place to find a great multitude of things, including Python Tutorials. -- http://mail.python.org/mailman/listinfo/python-list