An error when i switched from python v2.6.6 => v3.2.3
Νίκος Γκρ33κ
nikos.gr33k at gmail.com
Thu Mar 7 10:57:33 EST 2013
Τη Πέμπτη, 7 Μαρτίου 2013 5:33:10 μ.μ. UTC+2, ο χρήστης Chris Angelico έγραψε:
> You can figure it out, but it will take some effort. I will not
>
> enlighten you further. The documentation is all there; the answers are
>
> available.
I found it! I have placed 'htmltemp' within the os.system() call. Otherwise, os.system() returns a return value (int) which python then tries to concatenate with htmltemp (string).
os.system( 'python metrites.py > %s' % htmltemp )
:-)
More information about the Python-list
mailing list