CGI script running not completely in HTML

2006-08-17 Thread Yong Wang
Hi, All: I have written a python CGI script to run in html web page. When I access to the html page, it only runs part of the script, then abort because the late part of the script is involved in database access, it is slow. I wonder whether there is a way to control html running speed so th

python printout format

2006-02-01 Thread Yong Wang
Hi, I have a data set like row = [[1,2,3,4,5], [6,7,8,9,10], [11,12,13,14,15]] when I use loop to print out data, I got compile error in printout statment. while j<24: print ' ',string.ljust(str(units[0]), 5), print ' ',string.ljust(str(ports[j], 3), print ' ',string.l