CSV Écrivez sans nouvelle ligne

with open('output.csv', 'w', newline='', encoding='utf-8') as f:
    writer = csv.writer(f)
    ...
Concerned Cow