How to make flask stream output line by line? [duplicate] Flask flyf35 — 29 March 2023 · Comments off Solution yield f"{','.join(row)}\n" # <=== Newline at the end!