Re: xlsxwriter considering worksheet.write as tuple ???

2016-09-26 Thread Mohan Mohta
On Monday, September 26, 2016 at 8:30:34 PM UTC-5, Nathan Ernst wrote: > There's a bug at line 362: > > sup_sheet.write=(s_count,"VM", cell_format); > ---^ > > Like I suggested, you've an errant assignment to sup_sheet.write. > > Also, a couple of notes on style: the terminating

Re: xlsxwriter considering worksheet.write as tuple ???

2016-09-26 Thread Nathan Ernst
There's a bug at line 362: sup_sheet.write=(s_count,"VM", cell_format); ---^ Like I suggested, you've an errant assignment to sup_sheet.write. Also, a couple of notes on style: the terminating semicolons in your code is unnecessary. It's only needed for multiple statements on a

Re: xlsxwriter considering worksheet.write as tuple ???

2016-09-26 Thread Mohan Mohta
On Monday, September 26, 2016 at 8:08:13 PM UTC-5, MRAB wrote: > On 2016-09-27 01:34, Mohan Mohta wrote: > > On Monday, September 26, 2016 at 6:56:20 PM UTC-5, Nathan Ernst wrote: > >> On Mon, Sep 26, 2016 at 6:00 PM, MRAB wrote: > >> > >> > On 2016-09-26 23:03, M2

Re: xlsxwriter considering worksheet.write as tuple ???

2016-09-26 Thread MRAB
On 2016-09-27 01:34, Mohan Mohta wrote: On Monday, September 26, 2016 at 6:56:20 PM UTC-5, Nathan Ernst wrote: On Mon, Sep 26, 2016 at 6:00 PM, MRAB wrote: > On 2016-09-26 23:03, M2 wrote: > >> Hello >> The program is designed to collect different statistics from

Re: xlsxwriter considering worksheet.write as tuple ???

2016-09-26 Thread Mohan Mohta
On Monday, September 26, 2016 at 6:56:20 PM UTC-5, Nathan Ernst wrote: > On Mon, Sep 26, 2016 at 6:00 PM, MRAB wrote: > > > On 2016-09-26 23:03, M2 wrote: > > > >> Hello > >> The program is designed to collect different statistics from servers > >> across the network

Re: xlsxwriter considering worksheet.write as tuple ???

2016-09-26 Thread Nathan Ernst
On Mon, Sep 26, 2016 at 6:00 PM, MRAB wrote: > On 2016-09-26 23:03, M2 wrote: > >> Hello >> The program is designed to collect different statistics from servers >> across the network and populate in excel sheet. >> Library : xlsxwriter.0.9.3 >> >> Below is the Snip of

Re: xlsxwriter considering worksheet.write as tuple ???

2016-09-26 Thread MRAB
On 2016-09-26 23:03, M2 wrote: Hello The program is designed to collect different statistics from servers across the network and populate in excel sheet. Library : xlsxwriter.0.9.3 Below is the Snip of code being used #! /usr/bin/python import xlsxwriter import os; import subprocess; import

xlsxwriter considering worksheet.write as tuple ???

2016-09-26 Thread M2
Hello The program is designed to collect different statistics from servers across the network and populate in excel sheet. Library : xlsxwriter.0.9.3 Below is the Snip of code being used #! /usr/bin/python import xlsxwriter import os; import subprocess; import sys; import os.path;