pygame is
Simple DirectMedia Layer is
Site Swing

webklf - 2.0

Tero Tapani Ranta (tzerba)



See my Home Page ;)


Home Page:


click to view original size


webklf - 3 - May 24, 2011
webklf - 2.0 - Apr 2, 2009 account Comments

If you wish to leave a comment with your account, please sign in first.

April 3, 2009 6:13am - Tero Tapani Ranta - nickname: (tzerba)
Does the colored text work in Linux? And what about the DELETE control?
Please use the HELP view or the source code if you don't know how to.
DELETE clears the console. It uses os.system("CLS"), works on NT, but I cannot
find its equivalent on my Linux laptop (POSIX).
April 2, 2009 4:39pm - Koen Lefever - nickname: (koenlefever)
I also don't get it. In both of your programs you use exactly the same code. They both work for me in Linux and only one does not work on my Vista machine. Don't bother about it if nobody else reports something similar, it's probably my installation. I'll keep you posted if I ever discover what it is :)
April 2, 2009 2:35pm - Tero Tapani Ranta - nickname: (tzerba)
His platform is Vista, too.
April 2, 2009 2:34pm - Tero Tapani Ranta - nickname: (tzerba)
My mistake koenfever it was you as well who tried the other one :), sorry.
Well, I have a friend of mine here down here at the same university as me who tried both. He had no problem with sys.stdin.readline or any other -exception- type of problems.
April 2, 2009 2:24pm - Tero Tapani Ranta - nickname: (tzerba)
What the problem could be caused by? Another person tried my Webget application which includes the same instruction, and he/she reported that it works fine. The line is same except that it is put into the configuration of Program class but that matter doesn't affect to the problem you faced.

I did it with Python 2.6. Could it be the clue?
April 2, 2009 11:46am - Koen Lefever - nickname: (koenlefever)
I've tried it on Linux (OpenSuse, Python 2.5), everything worked fine. On Windows Vista however (also Python 2.5), I get this rather strange error:
Traceback (most recent call last):
File "C:\Users\Koen\Desktop\Pygames\", line 403, in <module>
username = sys.stdin.readline(16).strip()
TypeError: readline() takes exactly 1 argument (2 given)
I replaced this line by username = "koen" and everything works fine again.

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
May 22, 2016

May 21, 2016

May 18, 2016

May 1, 2016

Mar 27, 2016

Mar 26, 2016

Mar 22, 2016

Mar 19, 2016

Mar 17, 2016

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)