tips
All tips
2 tips Csv
One command, setting or habit at a time about Csv: what it does, the line to copy and a caveat or two.
SQL shells 1
-
Writes a query result to a CSV file on your own computer, without server file permissions.
\copy (SELECT id, email FROM users WHERE active) TO 'users.csv' WITH (FORMAT csv, HEADER)
Standard library 1
-
Looks at a sample of a CSV file and returns the dialect, so you don't have to know the delimiter.
import csv
Nothing in this filter yet.