convert xls to json in python
问题 I am trying to convert xls to json and but when I am executing the code it's not giving me the data inside xls sheet, it's only giving me the json structure. Below is the code which I am running, I am not able to understand what modification I should further make in this so that I can get a perfect json file. Please note - input is in the form of binary stream and output is also in the form of a stream and not file. #!/usr/bin/python -u import sys import xlrd import simplejson from