By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,347 Members | 1,317 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,347 IT Pros & Developers. It's quick & easy.

how to concatenate list items with a given string item

P: 1
I have a list item list contains


I want turn joint be into
self.myListItem[jointb] + '.rotateOrder' so that i get an iteration of

self.myListItem[jointb.rotateOrder] in each list item.
the list contains about 200+ 'joints' that id like to concatenate.
Apr 4 '14 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 626
Show how you create self.myListitem. The code
Expand|Select|Wrap|Line Numbers
  1. self.myListItem[jointb]
  2. self.myListItem[jointb.rotateOrder] 
is not used with a list but with a dictionary. Also provide some input and output test data so we understand what you want to do.
Apr 10 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.