How to run python extension from a .gs script using relative paths?

VictorSavenije
edited July 1 in Geosoft
I have python extension like in: https://geosoftgxdev.atlassian.net/wiki/spaces/GXD93/pages/105775181/Create+a+Menu+to+Run+Python+Extensions

I can run this from the menu in Oasis. I would like to integrate the extension in a .gs script. If I record it's usage into a script, an absolute path is written. However I would like to use relative paths only so I can distribute the script to other PC's. Relative paths are normally possible with for example database file paths. 

But when editing the absolute path to the .py extension to something relative such as: "C:\Users\v.savenije\Documents\Geosoft\Desktop Applications\python\myextension.py" -> python\myextension.py
I always get the error:
Unable to find the python\myextension.py Python

This anyone know how to run python extension from a .gs script using relative paths?