An error when i switched from python v2.6.6 => v3.2.3
Νίκος Γκρ33κ
nikos.gr33k at gmail.com
Thu Mar 7 10:01:24 EST 2013
Τη Πέμπτη, 7 Μαρτίου 2013 4:50:34 μ.μ. UTC+2, ο χρήστης Νίκος Γκρ33κ έγραψε:
> os.system( 'python metrites.py > htmltemp' )
That is wrong now i realize, it takes htmltemp as the filename where what i need is to take it htmltemp's varibales value.
Switching back to:
os.system( 'python metrites.py > %s' ) % htmltemp
f = open( htmltemp )
htmldata = f.read()
but still donse see what iam doing wrong.....
More information about the Python-list
mailing list