Aug-27-2019, 11:39 AM
(Aug-13-2019, 02:46 AM)Skaperen Wrote: i'm thinking of passing lists of strings with code to exec()
Why would you do that instead of just passing functions? The idea of higher order functions (i.e. functions that take/return functions) is a very useful one and since functions are first class in Python, it's possible to write them.