how to concatenate list items with a given string item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • planartist
    New Member
    • Apr 2014
    • 1

    how to concatenate list items with a given string item

    I have a list item list contains

    self.myListItem[jointb]

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

    self.myListItem[jointb.rotateOr der] in each list item.
    the list contains about 200+ 'joints' that id like to concatenate.
    Thanks
  • dwblas
    Recognized Expert Contributor
    • May 2008
    • 626

    #2
    Show how you create self.myListitem . The code
    Code:
    self.myListItem[jointb]
    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.

    Comment

    Working...