executea string
Groleo Marius
groleo at gmail.com
Tue Feb 22 04:12:33 EST 2005
I have the folowing code:
c=2
e=3
s="12"
code.append('funtion ("c, e,s")')
print "\n".join(code) + '\n'
The problem is when i call append.
The variables s, c, e are not replaced with their value, so in the end
i get the result:
funtion(" c, e, s");
The result that i want is :
funtion("2,3,12");
--
Regards,
.''`. # touch universe
: :' : # chmod +rwx universe
`. `'` # ./universe
`- Debian - when you have better things to do than fix a system
More information about the Python-list
mailing list