Availability::- use_module(library(csv)).
(can be autoloaded)
[det]csv_write_file(+File,
+Data)
[det]csv_write_file(+File,
+Data, +Options)Write a list of Prolog terms to a CSV file. Options are given
to csv/4. Remaining options are given to open/4.
The default separator depends on the file name extension and is \t
for
.tsv
files and ,
otherwise.