original_docstring:  Write Table 1 to a file 
docstring: Write Table 1 to a file
docstring_tokens: Write Table 1 to a file
code: def onWriteTableOne(self, e):
      ''' Write Table 1 to a file '''
  
      save_dlg = wx.FileDialog(self,
                               message="Save Table 1",
                               defaultDir=os.curdir,
                               defaultFile="table_1.txt",
                               wildcard="*.txt",
                               style=wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT
                               )
      if save_dlg.ShowModal() == wx.ID_OK:
        with open(save_dlg.GetPath(), 'a') as tb1_file:
          tb1_text = self.tb1_table.table_one_text()
          tb1_file.write(tb1_text)
code_tokens: def onWriteTableOne ( self , e ) : save_dlg = wx . FileDialog ( self , message = "Save Table 1" , defaultDir = os . curdir , defaultFile = "table_1.txt" , wildcard = "*.txt" , style = wx . FD_SAVE | wx . FD_OVERWRITE_PROMPT ) if save_dlg . ShowModal ( ) == wx . ID_OK : with open ( save_dlg . GetPath ( ) , 'a' ) as tb1_file : tb1_text = self . tb1_table . table_one_text ( ) tb1_file . write ( tb1_text )
short_docstring: Write Table 1 to a file
short_docstring_tokens: Write Table 1 to a file
comment: ''' Write Table 1 to a file '''