parameters: (mode = "w", **options)
return_statement: return None
docstring: Ask for a filename to save as, and returned the opened file
docstring_summary: Ask for a filename to save as, and returned the opened file
docstring_tokens: Ask for a filename to save as and returned the opened file
function: def asksaveasfile(mode = "w", **options):
      "Ask for a filename to save as, and returned the opened file"
  
      filename = SaveAs(**options).show()
      if filename:
          return open(filename, mode)
      return None
function_tokens: def asksaveasfile ( mode = "w" , * * options ) : filename = SaveAs ( * * options ) . show ( ) if filename : return open ( filename , mode ) return None