I am working on a simple Python (2.7.3) script, but I have to get the user\'s Home Folder. I tried:
import os home_folder = os.environ[\"HOME\"]
Sounds like you're trying to run this on Windows based entirely on your "[launching] it from the cmd". IDLE is giving you that as a convenience; on Windows use USERPROFILE instead of HOME. The %USERPROFILE% envar is the Win32 $HOME.
USERPROFILE
HOME
%USERPROFILE%
$HOME