Python Get Executable Path Is A Directory