On Wed, 1 Oct 2008 10:03:50 -0700 (PDT) sandric ionut <[EMAIL PROTECTED]> wrote: > Thank you: > > but I would like to have them not like: > ['name1', 'name2', 'name3', 'name4', 'name5', 'name6', 'name7', > 'name8', 'name9'] > > but like > name1 name2 name3 name4 name5 name6 name7 name8 name9
Slight mod from my previous suggestion then. nameAll = ' '.join(["name%d" % x for x in range(1,10,1)]) Have you gone through the tutorial yet? -- D'Arcy J.M. Cain <[EMAIL PROTECTED]> | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner. -- http://mail.python.org/mailman/listinfo/python-list