hi All,
I am importing the SQL DB data into a CSV file, the length of the data is too large and doesn't fit with default csv file column width, so i need to increase the column width please let me know how can you achieve this .
below is my code
import csv
cursor.execute ("select * from watch where timestamp>='2011-05-30' and env='qa'")
row = cursor.fetchone ()
f=csv.writer(open(os.getcwd()+"\\analytics.csv",'w'))
f.writerow(row)