View Single Post
Old Jun 28th, 2007, 12:10 PM   #9
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
Talking

I assume you found the evil function eval():
joe = "this is what I want to print"
bob = ["joe"]
print eval(bob[0])  # this is what I want to print
__________________
I looked it up on the Intergnats!
Dietrich is offline   Reply With Quote