Question on python text file read write using Win32com -


I am reading a text file a.txt which has several columns and I need data in 5 columns. I received it by reading the data of 5 columns, but my question is how can I import these 5 column data into an Excel file, as if there is only one column in the text file.

How to generate an excel file with a dragon file, this is an example.

The use of Win32 will be fine, but I like to use the XLVU because the machine does not need to install Excel. .add_sheet ("My Sheet") for the line in xlwt wb = xlwt.Workbook () ws = wb Xrange (10): for colonel in xrange (5): ws.

I hope it helps / Html>

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -