Hello all, I have written my first Python application (apart from small test programs). It's a (distibuted) white board application. I'm going to assume that there already are a thousand of them, written in Python, but just in case someone would find it useful:
http://user.it.uu.se/~jada3673/applications.php Direct link: http://user.it.uu.se/~jada3673/apps/whiteboard.py Since I'm a Python beginner, the code is very suboptimal. Anyway, I believe it may be good reference code for beginners. Oh, I do have one more question though. I'm using wxPython, and when I check for keys I use the evt.GetKeyCode() call, and compare it with integers which I have found by printing what event.GetKeyCode() returns. I would prefer a more portable way, since I assume that F1 doesn't have the same code on a Sparc Ultra10. (?) Is there a way to get "key codes" in wxPython in a portable manner? I'd also like to thank all of those who have helped me in this group, and thank everyone else for the interresting discussions. As for license: Do whatever you want with it, but don't blame me if it breaks anything or causes spontaneous pain, death or pregnancies. -- http://mail.python.org/mailman/listinfo/python-list