Hi, On Sat, 26 Oct 2013 14:41:15 -0700 (PDT) theelder777@ wrote:
> Hello all, I am kind of new to python. I am currently trying to make and use > a list/array of sockets in a program. So I have declared an array as follows: > myCSocks = ['CSock1', 'CSock2', 'CSock3', 'CSock4', 'CSock5'] You actually have added strings to your list. this 'is_a_string. You need to add the objcts to the list. E.g.: myCSocks = [CSock1, CSock2, CSock3, CSock4, CSock5] Hope this helps. Regards, Johannes -- https://mail.python.org/mailman/listinfo/python-list