pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
webklf

webklf - 2.0

Tero Tapani Ranta (tzerba)

Tags:

Description

See my Home Page ;)

Links

Home Page: http://sites.google.com/site/cheztero/Home/code-projects
Source: http://www.mediafire.com/file/mmjmhyjn5wd/webklf2.py

Screenshot


click to view original size

Releases

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

Pygame.org account Comments

If you wish to leave a comment with your pygame.org 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\webklf2.py", 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.
spotlight

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

Jul 21, 2014


Jul 20, 2014

Jul 19, 2014

Jul 15, 2014

Jul 10, 2014

Jul 9, 2014

Jun 27, 2014



Jun 24, 2014

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