Teresa, when you call a python script this way, the server needs to load the python interpreter for each call. <br><br>If you need faster execution you should look into having a server process running already. Something like mod_python for apache or CherryPy will help you speed this up.
<br><br>-Josh<br><br><br><div><span class="gmail_quote">On 3/13/07, <b class="gmail_sendername">Teresa Hardy</b> <<a href="mailto:thardy99@gmail.com">thardy99@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a webpage calling a python script, using Apache server....http://localhost/cgi-bin/mycode.py?dmn<br>I am using Firefox, WindowsXP Python 2.4<br><br>I can count to 13 from the time I click to the time the browser finds the path.
<br><br>The python runs okay when I finally get to it. In the first step it just launches a Flash file. I benchmarked the time thru the python code and it isn't the slow part. It's the launch. Forgive me if I am not explaining this well. I am pretty much teaching myself...fumbling thru the process.
<br><br>Any suggestions on how to speed up the first step?<br><br>Thanks,<br><span class="sg">Teresa<br><br><br><br><br><br><br>
</span><br>--<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br></blockquote>
</div><br>