variable sub in a list- how to

hari sirigibathina hari.siri74 at gmail.com
Thu Jun 21 21:16:59 EDT 2007


D-
How can I substitute a variable into a list ?
ex:
list()
var = 'Prog'
list.append($Prog) //error occur here


-- 
Warm Regards,

Hari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070621/2af411f8/attachment.html>


More information about the Python-list mailing list