astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v0.3 »
- ASCII Tables (`astropy.io.ascii`) »
- get_writer

# get_writer

`astropy.io.ascii.ui.``get_writer`(Writer=None, **kwargs)

  Initialize a table writer allowing for common customizations. Most of the default behavior for various parameters is determined by the Writer class.

  Parameters:

  - Writer – Writer class (DEPRECATED) (default=``ascii.Basic``)
  - delimiter – column delimiter string
  - write_comment – string defining a comment line in table
  - quotechar – one-character string to quote fields containing special characters
  - formats – dict of format specifiers or formatting functions
  - strip_whitespace – strip surrounding whitespace from column values (default=True)
  - names – list of names corresponding to each data column
  - include_names – list of names to include in output (default=None selects all names)
  - exclude_names – list of names to exlude from output (applied after `include_names`)