Aug-31-2021, 03:41 PM
Hi apologies, just saw this reply - it prints table data to console & have been copying and pasting from there since. Ideally the CSV bit would work
(Sep-17-2020, 12:07 PM)Aspire2Inspire Wrote: Hey dude.
So using the same settings in regards to .csv i created something simple to check that there wasn't an issue there which there of course should not have been..
import csv tr = ["434", "3434", "23", "4523423", "423", "654", "234", "34", "54", "65", "234", "654", "5647", "345", "234"] csvFile = open("booking_data.csv", 'wt', newline='', encoding='utf-8') writer = csv.writer(csvFile) for cell in tr: writer.writerow(cell) print(cell) csvFile.close()Everything worked fine.
Are you getting the table data printing to console?