En Thu, 21 Jun 2007 22:16:59 -0300, hari sirigibathina  
<[EMAIL PROTECTED]> escribió:

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

Considering the usage of // and $Prog (btw, did you meant $var?) I think  
you should start by reading some introductory texts, like the Python  
Tutorial <http://docs.python.org/tut/> or Dive Into Python  
<http://www.diveintopython.org/>, to learn how things are done in Python.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to