An error when i switched from python v2.6.6 => v3.2.3

Νίκος Γκρ33κ nikos.gr33k at
Thu Mar 7 16:57:33 CET 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 > %s' % htmltemp )


More information about the Python-list mailing list