Here is a Python script:

{{ d['script.py|pyg'] }}

Here is the output:

{{ d['script.py|py'] }}