I made some progress!!! Now the htmldata's value its not -1 but 256!!!
look the error after trying this:
htmldata = os.system("python metrites.py > '/data/private/htmltemp'")
====================
template undefined, htmldata = 256, counter = ' <center><a
href="mailto:[email protected]"> ...st.gr/?show=stats"><font color=cyan> 0
</td>\n\t\t '
<type 'exceptions.TypeError'>: unsupported operand type(s) for +: 'int' and
'str'
args = ("unsupported operand type(s) for +: 'int' and 'str'",)
message = "unsupported operand type(s) for +: 'int' and 'str'"
--
http://mail.python.org/mailman/listinfo/python-list