- astropy.io.votable.util.convert_to_writable_filelike(fd, compressed=False)[source]¶
Returns a writable file-like object suitable for streaming output.
stror file-like object
a file path string, in which case it is opened, and the file object is returned.
an object with a :meth:
writemethod, in which case that object is returned.
- compressedbool, optional