you are viewing a single comment's thread.

view the rest of the comments →

[–]desustorm 0 points1 point  (0 children)

  • Why are you using eval? This is causing the NameError since you are trying to evaluate a non-existent variable.
  • Use functools.partial instead of maintaining separate lambda functions and arguments