the script's environment:

I'm running on tilde.team

GATEWAY_INTERFACE=CGI/1.1
GEMINI_URL=gemini://tilde.team:1965/~jan6/test.py
PATH_INFO=
REMOTE_ADDR=::ffff:64.149.155.184
REMOTE_HOST=::ffff:64.149.155.184
REMOTE_PORT=33200
SCRIPT_NAME=/~jan6/test.py
SERVER_NAME=tilde.team
SERVER_PROTOCOL=GEMINI
SERVER_SOFTWARE=gemserv
LC_CTYPE=C.UTF-8