Hi all,
I remember back in the EventScripts days that the use of Python's eval() function was a 'potential risk' or something like that. I wonder if this is still true for SP because I want to make a calculator lol
Python's eval() function
Well, it does not allow you to use operators.
Check the docs: https://docs.python.org/3.4/library/ast.html#ast.literal_eval
Check the docs: https://docs.python.org/3.4/library/ast.html#ast.literal_eval
Return to “General Discussion”
Who is online
Users browsing this forum: No registered users and 27 guests