Quick, newbie Python scoping question. How can I make sure that the original variables get changed in the for-loop below?
for name in [name_level_1, name_level_2, name_level_3, name_level_4]:
name = util.translate("iw", "en", name.encode('utf-8'))
print name_level_1
In other words, I want the print statement to print out the changed variable, not the original. Python doesn't have pointers, right?
Thanks!