Re: Table Driven GUI Definition?

2011-08-05 Thread Tim Daneliuk
On 8/5/2011 5:51 PM, Philip Semanchuk wrote: On Aug 5, 2011, at 6:20 PM, Tim Daneliuk wrote: On 8/5/2011 3:42 PM, Philip Semanchuk wrote: On Aug 5, 2011, at 4:10 PM, Tim Daneliuk wrote: On 8/5/2011 2:05 PM, Irmen de Jong said this: On 05-08-11 19:53, Tim Daneliuk wrote: I have a task whe

Re: Table Driven GUI Definition?

2011-08-05 Thread Philip Semanchuk
On Aug 5, 2011, at 6:20 PM, Tim Daneliuk wrote: > On 8/5/2011 3:42 PM, Philip Semanchuk wrote: >> >> On Aug 5, 2011, at 4:10 PM, Tim Daneliuk wrote: >> >>> On 8/5/2011 2:05 PM, Irmen de Jong said this: On 05-08-11 19:53, Tim Daneliuk wrote: > I have a task where I want to create pretty

Re: Table Driven GUI Definition?

2011-08-05 Thread Tim Daneliuk
On 8/5/2011 3:42 PM, Philip Semanchuk wrote: On Aug 5, 2011, at 4:10 PM, Tim Daneliuk wrote: On 8/5/2011 2:05 PM, Irmen de Jong said this: On 05-08-11 19:53, Tim Daneliuk wrote: I have a task where I want to create pretty simple one page visual interfaces (Graphical or Text, but it needs to

Re: Table Driven GUI Definition?

2011-08-05 Thread Philip Semanchuk
On Aug 5, 2011, at 4:10 PM, Tim Daneliuk wrote: > On 8/5/2011 2:05 PM, Irmen de Jong said this: >> On 05-08-11 19:53, Tim Daneliuk wrote: >>> I have a task where I want to create pretty simple one page visual >>> interfaces (Graphical or Text, but it needs to run across Windows, >>> Cygwin, Linux

Re: Table Driven GUI Definition?

2011-08-05 Thread Tim Daneliuk
On 8/5/2011 2:05 PM, Irmen de Jong said this: > On 05-08-11 19:53, Tim Daneliuk wrote: >> I have a task where I want to create pretty simple one page visual >> interfaces (Graphical or Text, but it needs to run across Windows, >> Cygwin, Linux,*BSD, OSX ...). These interfaces are nothing more >> t

Re: Table Driven GUI Definition?

2011-08-05 Thread Emile van Sebille
On 8/5/2011 10:53 AM Tim Daneliuk said... I have a task where I want to create pretty simple one page visual interfaces (Graphical or Text, but it needs to run across Windows, Cygwin, Linux,*BSD, OSX ...). These interfaces are nothing more than option checklists and text fields. I'm not happen

Re: Table Driven GUI Definition?

2011-08-05 Thread Irmen de Jong
On 05-08-11 19:53, Tim Daneliuk wrote: I have a task where I want to create pretty simple one page visual interfaces (Graphical or Text, but it needs to run across Windows, Cygwin, Linux,*BSD, OSX ...). These interfaces are nothing more than option checklists and text fields. Conceptually somet

Re: table from csv file

2010-01-09 Thread J
On Sat, Jan 9, 2010 at 05:26, Jon Clements wrote: >> reader = open('C:/test.txt','rb') >> data = csv.DictReader(reader,restval='000',restkey='Misc') > > [snip] > > DictReader works, but what use to bug me was the fact you couldn't > then output the cols in the 'correct' order afterwards, so you h

Re: table from csv file

2010-01-09 Thread Jon Clements
On Jan 8, 8:31 pm, J wrote: > On Fri, Jan 8, 2010 at 13:55, Jon Clements wrote: > > On Jan 8, 5:59 pm, marlowe wrote: > >> I am trying to create a table in python from a csv file where I input > >> which columns I would like to see, and the table only shows those > >> columns. I have attached an

Re: table from csv file

2010-01-08 Thread J
On Fri, Jan 8, 2010 at 13:55, Jon Clements wrote: > On Jan 8, 5:59 pm, marlowe wrote: >> I am trying to create a table in python from a csv file where I input >> which columns I would like to see, and the table only shows those >> columns. I have attached an example of the csv file i am using, an

Re: table from csv file

2010-01-08 Thread Jon Clements
On Jan 8, 5:59 pm, marlowe wrote: > I am trying to create a table in python from a csv file where I input > which columns I would like to see, and the table only shows those > columns. I have attached an example of the csv file i am using, and > some of the code I have written. I am having trouble

Re: Table update

2007-08-28 Thread [EMAIL PROTECTED]
On Aug 28, 2:57 pm, "Ahmed, Shakir" <[EMAIL PROTECTED]> wrote: > I am trying to use python script to update a table by incremental value > based on struc_No but having problem to get right result on the value > field for the 3rd and 4th same number of struc_no. > > I need to update the Value field

Re: Table

2007-01-08 Thread skip
>> Someone know how do I get the collunm's number of a gkt.Table ? This is probably better asked on the pygtk mailing list. Your request seems underspecified. You want the column number given what input? A child widget of the Table? If so, look at gtk.Container's child_get_property method

Re: table (ascii text) lin ayout recognition

2006-09-13 Thread bearophileHUGS
Here you can find an improved version: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/498093 -- http://mail.python.org/mailman/listinfo/python-list

Re: table (ascii text) lin ayout recognition

2006-09-13 Thread Paul McGuire
"James Stroud" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [EMAIL PROTECTED] wrote: >> Hello, >> >> I am looking for python code useful to process >> tables that are in ASCII text. The code must >> determine where are the columns (fields). >> Concerned tables for my application a

Re: table (ascii text) lin ayout recognition

2006-09-13 Thread bearophileHUGS
My version, not much tested. It probably doesn't work well for tables with few rows. It finds the most frequent word beginnings, and then splits the data according to them. data = """\ 44544 ipod apple black 102 GFGFHHF-12 unknown thing bizar brick mortar tbc 45fjk

Re: table (ascii text) lin ayout recognition

2006-09-13 Thread James Stroud
James Stroud wrote: > indices = [t for t in zip(indices[::2],indices[1::2])] (Artefact of cut-and-paste.) Make that: indices = zip(indices[::2],indices[1::2]) James -- http://mail.python.org/mailman/listinfo/python-list

Re: table (ascii text) lin ayout recognition

2006-09-13 Thread James Stroud
[EMAIL PROTECTED] wrote: > Hello, > > I am looking for python code useful to process > tables that are in ASCII text. The code must > determine where are the columns (fields). > Concerned tables for my application are various, > but their columns are not very complicated > to locate for a human, b

Re: table (ascii text) lin ayout recognition

2006-09-12 Thread James Stroud
[EMAIL PROTECTED] wrote: > Hello, > > I am looking for python code useful to process > tables that are in ASCII text. The code must > determine where are the columns (fields). > Concerned tables for my application are various, > but their columns are not very complicated > to locate for a human, b

Re: Table of Python Packages, updated

2005-03-29 Thread Skip Montanaro
>> Would it make sense to add a "distutils" column for those packages >> that can be installed from source using "python setup.py install" or >> do you assume that all the listed packages have that capability? Seo> Are you suggesting linking to the project's homepage, or upstream

Re: Table of Python Packages, updated

2005-03-29 Thread Seo Sanghyeon
http://sparcs.kaist.ac.kr/~tinuviel/pypackage/list.cgi On Tue, Mar 29, 2005 at 09:30:24AM -0600, Skip Montanaro wrote: > Very nice. I have a couple questions. What do the pink/grey cell > backgrounds mean? Pink background is "not packaged", grey background is "in progress". For "in progress"

Re: Table of Python Packages, updated

2005-03-29 Thread Skip Montanaro
Seo> Hello, comp.lang.python, and catalog-sig, Some of you may remember Seo> my mail with the very same subject last year. :-) I have continued Seo> to maintain the table, and here's the updated result: Seo> http://sparcs.kaist.ac.kr/~tinuviel/pypackage/list.cgi Very nice. I hav