When I run a python script with the following lines:
import os
host = os.environ.get('HOST')
if (host):
print(host)
I get an MKS Toolkit for Win32 prompt that says "MKS Toolkit for Win32 has stopped working."
Without those lines, the file runs fine. This is occurring on a Windows Server 2008 R2 computer. It works fine on Windows 7. Any ideas?