import sys import os # This tells the server to use your virtual environment's Python INTERP = "/var/www/vhosts/mystifying-hamilton.72-61-78-56.plesk.page/httpdocs/venv/bin/python3" if sys.executable != INTERP: os.execl(INTERP, INTERP, *sys.argv) def application(environ, start_response): start_response('200 OK', [('Content-Type', 'text/html')]) return [b"