def getJythonBinDir(): if not sys.executable is None: return os.path.dirname(os.path.realpath(sys.executable)) else: return Py.getDefaultBinDir()