original_docstring: save newim to user specified file
docstring: save newim to user specified file
docstring_tokens: save newim to user specified file
code: def save_im(self):
          """save newim to user specified file"""
          opts = {'defaultextension': '.png',
                  'filetypes': [('all files', '.*'), ('PNG Files', '.png')],
                  }
          f = tkFileDialog.asksaveasfilename(**opts)
          if f:
              PIL.Image.fromarray(self.clip_im(self.arr)).save(f)
code_tokens: def save_im ( self ) : opts = { 'defaultextension' : '.png' , 'filetypes' : [ ( 'all files' , '.*' ) , ( 'PNG Files' , '.png' ) ] , } f = tkFileDialog . asksaveasfilename ( ** opts ) if f : PIL . Image . fromarray ( self . clip_im ( self . arr ) ) . save ( f )
short_docstring: save newim to user specified file
short_docstring_tokens: save newim to user specified file
comment: """save newim to user specified file"""