I have something like this:
self.locale_directory = os.getcwd() + "/locale" if os.path.exists(self.locale_directory): self.file_content = wx.Fil