How to use project-relative path for Python scripts

Any answer on that topic?