<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 7, 2013 at 1:57 PM, Joel Goldstick <span dir="ltr"><<a href="mailto:joel.goldstick@gmail.com" target="_blank">joel.goldstick@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="h5"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 7, 2013 at 1:51 PM, rh <span dir="ltr"><<a href="mailto:richard_hubbe11@lavabit.com" target="_blank">richard_hubbe11@lavabit.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>On Thu, 7 Mar 2013 07:57:33 -0800 (PST)<br>
Νίκος Γκρ33κ <<a href="mailto:nikos.gr33k@gmail.com" target="_blank">nikos.gr33k@gmail.com</a>> wrote:<br>
><br>
> I found it! I have placed 'htmltemp' within the os.system() call.<br>
> Otherwise, os.system() returns a return value (int) which python then<br>
> tries to concatenate with htmltemp (string).<br>
><br>
> os.system( 'python metrites.py > %s' % htmltemp )<br>
<br>
</div>Can also do<br>
sterrs = 'errorsout'<br>
os.system( 'python metrites.py > {0} 2> {1}'.format(htmltemp,sterrs))<br>
<br>
It's more 3ish, or 3ist or 3like.<br>
><br>
> :-)<br>
<span><font color="#888888"><br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br></div></div></div><div class="gmail_extra">The content type situation is discussed here <a href="http://stackoverflow.com/questions/9145517/executing-a-python-script-in-apache2" target="_blank">http://stackoverflow.com/questions/9145517/executing-a-python-script-in-apache2</a><br clear="all">

</div><div class="im"><div class="gmail_extra"><br>-- <br><div dir="ltr"><div>Joel Goldstick<br></div><a href="http://joelgoldstick.com" target="_blank">http://joelgoldstick.com</a><br></div></div></div></div></blockquote>
<div><br> </div></div>So, I see you fixed the problem.  How?<br clear="all"></div><div class="gmail_extra"><br>-- <br><div dir="ltr"><div>Joel Goldstick<br></div><a href="http://joelgoldstick.com" target="_blank">http://joelgoldstick.com</a><br>
</div>
</div></div>