|
||||
|
Is it possible to use the value of one variable to make the name of another? In PHP it would be like this: $fu = "bar"; ${$fu} = "on"; This would yield a variable with the name $bar with a value of "on". |
||||
|
|
LiveJournal for python.
|
|||||||||
| Friday, April 9th, 2004 |
|
||||
|
Is it possible to use the value of one variable to make the name of another? In PHP it would be like this: $fu = "bar"; ${$fu} = "on"; This would yield a variable with the name $bar with a value of "on". |
||||
|
|
LiveJournal for python.
|
|||||||||||