import os.path
import wx
import ProjectEditor
+import activegrid.util as utillib
_ = wx.GetTranslation
def CreateDirectoryControl( parent, fileLabel, dirLabel, fileExtension, startingName="", startingDirectory=""):
return name[0:-1] + 'ies'
else:
return name + 's'
-
\ No newline at end of file
+
+def GetPythonExecPath():
+ pythonExecPath = wx.ConfigBase_Get().Read("ActiveGridPythonLocation")
+ if not pythonExecPath:
+ pythonExecPath = utillib.pythonExecPath
+ return pythonExecPath
+
+