Link of xlsxwriter :

https://xlsxwriter.readthedocs.org/en/latest/contents.html

With the help of this you can generate excel file with .xlsx and .xls

for example excel file generated name is trial.xls

Now if you want to generate pdf of that excel file then do the following :

from win32com import client
xlApp = win32com.client.Dispatch("Excel.Application")
books = xlApp.Workbooks.Open('C:\\excel\\trial.xls')
ws = books.Worksheets[0]
ws.Visible = 1
ws.ExportAsFixedFormat(0, 'C:\\excel\\trial.pdf')


.xlsx and xls(Latest Versions) to pdf using python
I am looking for a very good story I read many years ago. The story was about a request to a politician that an old dying man would like to see snow fall before he died. The world now had weather control (maybe by controlling sunspots?) but he was in a warm climate (southern California?) and could not be moved and was near death. The man had been instrumental in the early days of weather control. I think the story starts by following the politician who decided to try to honor the man's request and passes a special bill thru the world legislature to make it happen. It then moves to a women (I think) in the weather service who needs to do something radical (in boats on the sun?) to make it happen. I think there were 3 vignettes but I'm forgetting one of them. The story ends with snow falling on 1 acre and the man gets to see the snow before he dies (which may occur at the end of the snowfall). Does anyone else recall this story and could provide title and author?
