beginners syntax question

Tony tonyl at homechoice.co.uk
Sat Apr 6 14:04:21 EST 2002


Hi, 

I'm trying to call the update() method of several objects ie:

object1.update()
object2.update() 
etc

I'd really like to do 

for x in range(7):
  "object"+str(x).update

but can't figure outthe syntax, is this possible?

Thanks 
Tony






More information about the Python-list mailing list