This answer (or `sys.prefix`) is more generally useful for a novice that may only know how to run IDLE from the start menu. Possibly they need to know where Python is to add the directory to `PATH`, in which case where.exe will be useless.
– Eryk SunApr 21 '16 at 18:30