How do I combine instance+string for variable
Marc
mnations at airmail.net
Fri Aug 1 17:05:19 EDT 2003
Hi all,
I can't remember how to do this.
I have several instances of telnet connections that I label
conn2,conn3, etc. Later when I want to scroll through all of these I
wanted to do something like this:
for int in range(2, 9):
use... conn+str(int) {I'm passing it into another
function}
I can't get it to work. I've tried using setattr and eval, but nothing
seems to work. Can I get a little help.
Thanks ahead of time,
Marc
More information about the Python-list
mailing list