Conclusion
Adding Python as a macro language to an application has been
fun, and has given the user a lot of power. If you want to
restrict your users, you might want to investigate the bastion
and restricted execution environments that Python offers.