On Fri, Mar 8, 2013 at 1:34 AM, Νίκος Γκρ33κ <nikos.gr...@gmail.com> wrote: > os.system( 'python metrites.py > %s' ) % htmltemp > > <type 'exceptions.TypeError'>: unsupported operand type(s) for %: 'int' and > 'str'
Simple parenthesis problem. Take a careful look at the line mentioned in the exception traceback (which you didn't share with us, but fortunately the error's pretty obvious) and see if you can find the problem. Hint: htmltemp is the str mentioned in the error. ChrisA -- http://mail.python.org/mailman/listinfo/python-list