On 8/25/2013 3:18 PM, Mohsen Pahlevanzadeh wrote: > eval doesn't run my code at the following link: > http://stackoverflow.com/questions/18432198/eval-function-doesnt-work-in-python Already answered there (code is statememt, not expression) -- Terry Jan Reedy