Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #12766

Re: Hello, and request for help with 'dynamic grids'

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <simoncropper@fossworkflowguides.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.018
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'python.': 0.04; 'instance': 0.05; 'predefined': 0.05; 'sqlite': 0.07; 'python': 0.08; 'bash': 0.09; 'dynamically': 0.09; 'doing,': 0.16; 'into.': 0.16; 'openoffice': 0.16; 'pygtk,': 0.16; 'raging': 0.16; 'workflow': 0.16; 'wrote:': 0.16; 'driver': 0.18; "haven't": 0.20; 'java': 0.21; 'connections': 0.21; 'subject:help': 0.22; 'assume': 0.22; 'header:In-Reply-To:1': 0.22; 'cheers': 0.23; 'depends': 0.28; 'gis': 0.29; 'creator': 0.30; 'toolkit': 0.30; 'widget': 0.30; 'components': 0.32; 'implement': 0.32; 'source': 0.33; 'there': 0.33; 'to:addr:python-list': 0.33; 'done': 0.34; 'header :User-Agent:1': 0.34; 'maintained': 0.34; 'list.': 0.35; 'similar': 0.35; 'received:au': 0.36; 'using': 0.37; 'but': 0.37; 'open': 0.37; 'component': 0.38; 'somewhat': 0.38; 'some': 0.38; 'subject:: ': 0.39; 'e.g.': 0.39; 'subject:with': 0.39; 'data': 0.39; 'to:addr:python.org': 0.39; 'might': 0.40; 'your': 0.61; 'link': 0.63; 'free': 0.63; 'believe': 0.65; 'designed': 0.65; 'website': 0.65; 'received:202': 0.66; 'guides': 0.67; 'database,': 0.68; 'subject:Hello': 0.72; 'established.': 0.84; 'odbc': 0.84; 'regard.': 0.84; 'windowing': 0.84
Date Mon, 05 Sep 2011 20:52:40 +1000
From Simon Cropper <simoncropper@fossworkflowguides.com>
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13
MIME-Version 1.0
To python-list@python.org
Subject Re: Hello, and request for help with 'dynamic grids'
References <4E645BA6.4070500@fossworkflowguides.com> <4E64A707.9090006@jollybox.de>
In-Reply-To <4E64A707.9090006@jollybox.de>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - lincpan30.siteportal.com.au
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - fossworkflowguides.com
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.771.1315219970.27778.python-list@python.org> (permalink)
Lines 37
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1315219970 news.xs4all.nl 2405 [2001:888:2000:d::a6]:57756
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:12766

Show key headers only | View raw


On 05/09/11 20:40, Thomas Jollans wrote:
> It depends on which windowing toolkit you're planning to use. If you use
> PyGTK, you'd want a TreeView widget to display the list. Fill a
> ListStore instance with your data and give that to the TreeView. You can
> implement filtering and sorting on top of that using TreeModelFilter and
> TreeModelSort.

I have look at most. I have no preference.

Are you able to point me to some resource material explaining how this 
can be done - e.g. a tutorial or manual?

> LibreOffice and OpenOffice have database management components (I
> haven't used them, I assume they're somewhat similar to MS Access) - and
> they can be scripted using Python. Depending on what you're doing, and
> what you're planning to do in the future (re learning investment), that
> might be worth looking into.

'Base' is of no value in this regard. It is not really designed for this 
and there is a raging debate at the moment whether it will be maintained 
in the future. It also fails in that it requires predefined connections 
and forms to be established. It would not be possible to dynamically 
link to a table in a database (I have established ODBC links to a SQLite 
database, but the driver is an un-maintained draft). I also believe that 
the 'base' component in libreoffice/openoffice is a java implementation 
not python.

-- 
Cheers Simon

    Simon Cropper - Open Content Creator / Website Administrator

    Free and Open Source Software Workflow Guides
    ------------------------------------------------------------
    Introduction               http://www.fossworkflowguides.com
    GIS Packages               http://gis.fossworkflowguides.com
    bash / Python        http://scripting.fossworkflowguides.com

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Hello, and request for help with 'dynamic grids' Simon Cropper <simoncropper@fossworkflowguides.com> - 2011-09-05 20:52 +1000

csiph-web