How to import data from MySQL db into excel sheet

hisan santosh.ssit at gmail.com
Thu Jun 2 13:25:24 EDT 2011


On Jun 2, 5:19 pm, Martin Brochhaus <martin.brochh... at googlemail.com>
wrote:
> Why do you need to do this with python? Why not output the SQL data as a .cvs and open that file in Excel. The user can then adjust column widths as he likes.
>
> If it has to be done programatically, you might want to start your journey here:http://www.python-excel.org/
>
> Best regards,
> Martin



Currently i am importing the Database into CSV file using csv module,
in csv file i need to change the column width according the size of
the data. i need to set different column width for different columns
pleas let me know how to achieve this



More information about the Python-list mailing list