Use the same flexible language everywhere: GhPython is the Python interpreter component for GH that allows to execute dynamic scripts.