def __chooseCfgFolder (self) : path = tkFileDialog.askdirectory(initialdir="/",title='??????') self.filePath.set(path.strip())