Possible Duplicate:
Dynamically set local variable in Python
I tried to execute this :
# the request send a number and its ok, the variable have good informations.
test = request.POST[member.user.username]
# SyntaxError at ***here***, can't assign to operator
group%d % test = member.user.username
I have tried also :
test = request.POST[member.user.username]
group%d = member.user.username % test
And :
test = request.POST[member.user.username]
group%d = member.user.username % (test)
Any idea for the syntax ?