astropy.io.votable
astropy.io.votable.util.
convert_to_writable_filelike
Returns a writable file-like object suitable for streaming output.
May be:
a file path, in which case it is opened, and the file object is returned. an object with a :meth:write method, in which case that object is returned.
a file path, in which case it is opened, and the file object is returned.
an object with a :meth:write method, in which case that object is returned.
write
If True, create a gzip-compressed file. (Default is False).
True
False