write

astropy.io.registry.write(data, *args, format=None, **kwargs)

Write out data.

Parameters:
dataobject

The data to write.

*args

The arguments passed to this method depend on the format.

formatpython:str or python:None
**kwargs

The arguments passed to this method depend on the format.

Returns:
object or python:None

The output of the registered writer. Most often None.

New in version 4.3.