Python CGI and Browser timeout

2007-04-26 Thread skulka3
Hello, I am creating a simple cgi script which needs to retrieve and process a huge number of records from the database (more than 11,000) and write the results to a file on disk and display some results when processing is complete. However, nothing needs to be displayed while the processing is

Re: Python CGI and Browser timeout

2007-04-26 Thread skulka3
Thanks for the response. To further clarify the details: I am printing the empty strings in a for loop. So the processing happens in a loop when all the results from the query have been already retrieved and each record is now being processed inside the loop. I also update the display periodical

Implement file download using python

2007-09-27 Thread skulka3
Hello, I want to implement file downloads inside an authenticated web page, such that when a user clicks a link, the server side python code connects to a ftp server, downloads a relevant file and then streams the file to the browser for the user to open it with the appropriate application. In thi

Re: True of False

2007-09-27 Thread skulka3
On Sep 27, 11:33 am, [EMAIL PROTECTED] wrote: > I tried writing a true and false If statement and didn't get > anything? I read some previous posts, but I must be missing > something. I just tried something easy: > > a = ["a", "b", "c", "d", "e", "f"] > > if "c" in a == True: > Print "Yes" >

Re: Implement file download using python

2007-09-27 Thread skulka3
On Sep 27, 11:39 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hello, > > > I want to implement file downloads inside an authenticated web page, > > such that when a user clicks a link, the server side python code > > connects to a ftp server, downloads a relevan