Women in Technology

Hear us Roar

  Mod_python's PSP: Python Server Pages
Subject:   req.write new page
Date:   2007-08-16 07:34:57
From:   SijmenSP
If is use
req.write in a loop
for writing out textual information the new information is appended to the information just written

for example the following script:

def index(req):
import time
req.content_type = "text/html"
for i in range(10)

will result in this:
Is it possible to empty the page between every req.write so each number appears on it's own?