Re: Finding Blank Columns in CSV

2015-10-07 Thread Jaydip Chakrabarty
On Tue, 06 Oct 2015 20:20:40 +0200, Peter Otten wrote: > Jaydip Chakrabarty wrote: > >> On Tue, 06 Oct 2015 14:33:51 +0200, Peter Otten wrote: >> >>> Jaydip Chakrabarty wrote: >>> >>>> On Tue, 06 Oct 2015 01:34:17 +1100, Chris Angelico wrote:

Re: Finding Blank Columns in CSV

2015-10-06 Thread Jaydip Chakrabarty
On Tue, 06 Oct 2015 19:25:12 +0100, MRAB wrote: > On 2015-10-06 18:23, Jaydip Chakrabarty wrote: >> On Tue, 06 Oct 2015 14:33:51 +0200, Peter Otten wrote: >> > [snip] >> >> I downloaded gmail contacts in google csv format. There are so many >> columns. So I w

Re: Finding Blank Columns in CSV

2015-10-06 Thread Jaydip Chakrabarty
On Tue, 06 Oct 2015 14:33:51 +0200, Peter Otten wrote: > Jaydip Chakrabarty wrote: > >> On Tue, 06 Oct 2015 01:34:17 +1100, Chris Angelico wrote: >> >>> On Tue, Oct 6, 2015 at 1:06 AM, Tim Chase >>> wrote: >>>> That way, if you determine by l

Re: Finding Blank Columns in CSV

2015-10-06 Thread Jaydip Chakrabarty
On Tue, 06 Oct 2015 01:34:17 +1100, Chris Angelico wrote: > On Tue, Oct 6, 2015 at 1:06 AM, Tim Chase > wrote: >> That way, if you determine by line 3 that your million-row CSV file has >> no blank columns, you can get away with not processing all million >> rows. > > Sure, although that effecti

Finding Blank Columns in CSV

2015-10-05 Thread Jaydip Chakrabarty
Hello, I have a csv file like this. Name,Surname,Age,Sex abc,def,,M ,ghi,,F jkl,mno,, pqr,,,F I want to find out the blank columns, that is, fields where all the values are blank. Here is my python code. fn = "tmp1.csv" fin = open(fn, 'rb') rdr = csv.DictReader(fin, delimiter=',') data = list(

wxPython Boxsizers

2014-11-06 Thread Jaydip Chakrabarty
Hello, I am new to Python. I am learning boxsizer. I want to put two buttons on my panel. One at top right corner and one at bottom right corner. How do I achieve this? Thanks -- https://mail.python.org/mailman/listinfo/python-list