DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to change the name of a variable in a loop python
for i in group(3): setattr(self, "group"+str(i), self.getGroup(selected, header+i)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#change
#variable
#loop
#python
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit