No, it's a list, really!

Fredrik Lundh effbot at telia.com
Tue May 16 14:46:29 EDT 2000


Daley, MarkX <markx.daley at intel.com> wrote:
> I am getting terribly confused.  Here is the code I am using for an SQL DB
> query (this may look familiar to those who have helped me in the past):
...
> servername = ['ServerA', 'ServerB', 'ServerC']
...
> for index in servername:
...
> ..., servername, ... = result[item] # oops!
...
> servername.append(index)

</F>




More information about the Python-list mailing list