Skip to content

Add newline keyword arg#239

Open
Tes3awy wants to merge 1 commit intoCiscoUcs:masterfrom
Tes3awy:inventory_csv
Open

Add newline keyword arg#239
Tes3awy wants to merge 1 commit intoCiscoUcs:masterfrom
Tes3awy:inventory_csv

Conversation

@Tes3awy
Copy link

@Tes3awy Tes3awy commented Jan 4, 2024

Add newline="" at

f = csv.writer(open(file_name, "w"))
to remove new empty lines in CSV files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant