/usr/share/k3d/scripts/script_recursion.py is in k3d-data 0.8.0.3-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #python
import k3d
k3d.ui().message("Howdy,")
recursive_script = """#python
import k3d
k3d.ui().message("World!")
"""
k3d.script.execute(recursive_script)
|