Re: Development tools and practices for Pythonistas

2011-05-01 Thread David Boddie
On Sunday 01 May 2011 18:11, Dietmar Schwertberger wrote: > Am 01.05.2011 02:47, schrieb Shawn Milochik: >> Look at the big two sites for open-source repositories -- github and >> bitbucket. One's git, the other Mercurial. I don't think you can go >> wrong picking either one. > > Can any of those

Re: Python users in Stavanger, Norway?

2011-04-03 Thread David Boddie
On Sunday 03 April 2011 09:32, Austin Bingham wrote: > I'm a Python developer in Stavanger, Norway looking for other Python > users/developers/etc. who might be interested in starting a local user > group. Anyone interested? This group might actually evolve into a > general programming/computer gr

Re: PyQT: QWebView with custom QNetworkAccessManager

2011-02-02 Thread David Boddie
On Wednesday 02 February 2011 00:31, Gelonida wrote: > I would like to subclass QNetworkAccessManager and > create a subclass of QWebView, that will use the subclassed > QNetworkAccessManager for all accesses. > > Is this possible? > I have really no idea when and how I could achieve this. > > T

Re: Use the Source Luke

2011-01-30 Thread David Boddie
On Sunday 30 January 2011 05:21, Steven D'Aprano wrote: > If I *wanted* to index my files, I could do so, although in > fairness I'm not aware of any Linux tools which do this -- I know of > `locate`, which indexes file *names* but not content, and `grep`, which > searches file content but doesn't

Re: WxPython versus Tkinter.

2011-01-23 Thread David Boddie
On Sunday 23 January 2011 17:57, rantingrick wrote: > On Jan 22, 9:39 pm, Terry Reedy wrote: >> On 1/22/2011 7:07 PM, rantingrick wrote: >> >> Near the beginning of this thread, I gently challenged you to produce a >> concrete, practical proposal for an stdlib addition that could be >> critiqued

Re: After C++, what with Python?

2011-01-16 Thread David Boddie
On Sunday 16 January 2011 08:35, geremy condra wrote: > On Sat, Jan 15, 2011 at 9:30 PM, Aman wrote: >> It would be great if you people could guide me as to what to proceed with >> and how. > > Here's what I would do: [Snip advice] Maybe it would be good to expand the Getting Started material

Re: How suitable is Python to write system utilities?

2011-01-06 Thread David Boddie
On Thursday 06 January 2011 12:08, Alice Bevan?McGregor wrote: > Python does include libraries (and has available third-party libraries) > to interface with external low-level libraries of every kind, has > Python-native third-party libraries to do things like examine ELF > object files / executab

Re: Generating PDF file in Python

2010-10-30 Thread David Boddie
On Saturday 30 October 2010 04:27, Lawrence D'Oliveiro wrote: > In message , Ed Keith > wrote: > >> I need to generate PDF files and I'm exploring what tools to use. I was >> planing on using ReportLab, but recently found some references to pango >> (http://www.pango.org/) and ciaro (http://cairo

Re: pyqt4 Table Widget deleting c/c++ object

2010-10-19 Thread David Boddie
On Monday 18 October 2010 23:26, Andrew wrote: > I have two issues dealing with the table widget, though they may be > interconnected. I'm not sure. Both delete the cell widgets off of my > table but leave the rows, and then when I have the table update, it > complains the c++ object has been dele

Re: Deleting widgets from PyQt4 QFormWidget

2010-09-16 Thread David Boddie
On Wednesday 15 September 2010 18:53, Andrew wrote: > I'm trying to remove the widgets from the QFormLayout widget from > PyQt4. According to the documentation I should be able to use the > command .takeAt(int) which will delete the widget from the layout and > then return to me the QLayoutWidget.

Re: Cross Compiling Python for ARM

2010-09-14 Thread David Boddie
On Tuesday 14 September 2010 21:19, Thomas Jollans wrote: > On Tuesday 14 September 2010, it occurred to Neil Benn to exclaim: >> # >> ./python >> >> -sh: ./python: not found > > > I'm guessing either there is no file ./python, or /bin/sh is fundamentally > broken. Yes, it may be instructive t

Re: PyQt Ram Usage

2010-05-03 Thread David Boddie
On Monday 03 May 2010 22:49, Country Boy wrote: > I am new to Python (and programming so pardon my ignorance) > I have a small PyQt program that lives in windows system tray. I am > using Suds & ElemetTree to do webservices call and parse XML. > I have a QTimer that runs every 30 seconds and fetch

Re: highlight words by regex in pdf files using python

2010-03-17 Thread David Boddie
On Wednesday 17 March 2010 00:47, Aahz wrote: > In article > , > Peng Yu wrote: >> >>I don't find a general pdf library in python that can do any >>operations on pdfs. >> >>I want to automatically highlight certain words (using regex) in a >>pdf. Could somebody let me know if there is a tool to

Re: Some PyCon videos won't play

2010-03-14 Thread David Boddie
On Saturday 13 March 2010 20:01, Terry Reedy wrote: > On 3/13/2010 11:23 AM, Lee Harr wrote: >> >> I am having a great time watching videos from PyCon. Thanks to >> everyone who presented, and to those who did such a great job >> putting the videos up at: http://pycon.blip.tv/ >> >> My trouble is

Re: Problem creating executable, with PyQwt

2010-02-23 Thread David Boddie
On Tuesday 23 February 2010 05:32, Gib Bogle wrote: > David Boddie wrote: > >> I have previously referred people with py2exe/PyQt issues to this page on >> the PyQt Wiki: >> >> http://www.py2exe.org/index.cgi/Py2exeAndPyQt >> >> If you can somehow c

Re: Problem creating executable, with PyQwt

2010-02-21 Thread David Boddie
On Monday 22 February 2010 01:17, Gib Bogle wrote: > > > Traceback (most recent call last): >File "ABM15.pyw", line 15, in >File "PyQt4\Qwt5\__init__.pyc", line 32, in >File "PyQt4\Qwt5\Qwt.pyc", line 12, in >File "PyQt4\Qwt5\Qwt.pyc", line 10, in __load >

Re: PyQt4 designer custom properties - combo box style

2010-02-06 Thread David Boddie
On Saturday 06 February 2010 10:32, Andrew wrote: > I'm attempting to create a drop down property for a custom widget I'm > creating. So when in designer and you scroll down to the custom > properties, under the regular widget properties, one of them would be > a drop down menu. The data to popula

Re: PyQt4 designer custom properties - combo box style

2010-02-04 Thread David Boddie
On Tuesday 02 February 2010 22:25, Andrew wrote: > I am creating custom widgets for the PyQt4 Designer. I can create > custom properties, but I'm looking for how to create a custom property > that has a combo box drop down. I've seen them in the example widgets > and tried following them, but they

Re: Undo/Redo in PyQt

2010-01-13 Thread David Boddie
On Wednesday 13 January 2010 02:20, Zabin wrote: > I am trying to implement the undo and redo facility in pyqt. I have > gone through some sites and was wondering whether iyou always need to > create subclasses and their definitions for the undo/redo action. My > program currently has a single win

Re: pyZui - anyone know about this?

2009-12-14 Thread David Boddie
On Monday 14 December 2009 20:02, Donn wrote: > On Monday 14 December 2009 00:10:52 David Boddie wrote: >> Doesn't the author give his e-mail address at the end of the video? >> (Maybe I'm thinking of a different video.) >> > Yes, in a quick and garbled way :

Re: pyZui - anyone know about this?

2009-12-13 Thread David Boddie
On Friday 11 December 2009 05:41, Donn wrote: > I happened upon this youtube link: > http://www.youtube.com/watch?v=57nWm984wdY > It fairly blew my socks off. In it a fellow by the name of David Roberts > demos a zui written in Python. Aside from the zooming (which is impressive > enough) it show

Re: QtPython: removeChild/addChild QGroupBox

2009-11-25 Thread David Boddie
On Mon Nov 23 10:35:26 CET 2009, Threader Slash wrote: > I am developing a system for a customer which is displayed in a set of > GroupBox. > Depending on mouse events, the container (groupBox) must be removed from > the centralwidget, or then added with new updated data for the table. > Here is a

Re: python gui builders

2009-11-20 Thread David Boddie
On Thursday 19 November 2009 11:50, Simon Hibbs wrote: > I don't think a list like this is a great way to do that. There are > plenty of examples and tutorials available for each option. This site has a selection of tutorials that can be used to compare API and code styles: http://zetcode.com/

Re: PyQt4 4.4.4 : a bug with highlightBlock ?

2009-11-20 Thread David Boddie
On Wednesday 18 November 2009 11:47, Snouffy wrote: > I've been trying to do some syntax highlighting using PyQt4. I ported > the example given in the documentation of Qt4 to Python. It works fine > on my computer at work (which has PyQt4 version 4.3.3) but doesn't on > my home computer (which has

Re: PyQt processEvents not processing

2009-11-07 Thread David Boddie
On Saturday 07 November 2009 05:12, DarkBlue wrote: > qt 4.5.3 > pyqt 4.6.1 > python 2.6 > > I have this QtTable widget which I want to refresh once about every 2 > seconds with new data. > > so I do : > > def updateSchedule(self): > for j in range(0,10): > doUpd

Re: PyQT4 user group

2009-10-29 Thread David Boddie
On Thursday 29 October 2009 17:15, Diez B. Roggisch wrote: > Chris wrote: > >> I'm starting to learn and use PyQT4 at work. Is there a good user >> group or forum out there that I should know about? > > The PyQt Mailinglist. There's a #pyqt IRC channel on Freenode: irc://irc.freenode.net/pyqt

Re: Substitute for KConfig in Qt4

2009-09-22 Thread David Boddie
On Sat Sep 19 12:18:40 CEST 2009, nusch wrote: > On Sep 19, 3:53 am, David Boddie wrote: > > On Thursday 17 September 2009 13:04, nusch wrote: > > > I want to remove pyKDE dependencies from my app to make it pure PyQt. > > > What will be the best substitute for KConf

Re: Cross platform TTF font render from Python [was: Load TTF from pycairo under Windows]

2009-09-18 Thread David Boddie
On Friday 18 September 2009 08:54, Laszlo Nagy wrote: > I need to render antialiased PNG images using TTF font files and UTF-8 > text. It needs to be available at least on Linux and Windows. This is > what I have tried: [...] > #4. pygame - documentation looks great, it is cross platform. But th

Re: Substitute for KConfig in Qt4

2009-09-18 Thread David Boddie
On Thursday 17 September 2009 13:04, nusch wrote: > I want to remove pyKDE dependencies from my app to make it pure PyQt. > What will be the best substitute for KConfig? What exactly do you use KConfig for in your application? David -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt QCompleter model

2009-09-16 Thread David Boddie
On Thursday 17 September 2009 01:14, nusch wrote: > The following code: > > strings=["asdad", "baasd", "casd", "caxd"] > completer = QCompleter(strings) > model = completer.model() > print model.rowCount() > model.stringList().append("test") This may not work as you expect. Although it may actua

Re: PyQT Qthread stuck main app

2009-09-15 Thread David Boddie
On Tue Sep 15 12:59:35 CEST 2009, daved170 wrote: > my problem is that when start is pusshed the entire window stuck and > it's impossible to push the STOP button and even when it looks like > it's been pushed it actually don't do anything. > > any idea how to fix it? Does adding a call to the ba

Re: "Rapid GUI Programming with Python and Qt" source code

2009-09-10 Thread David Boddie
On Thursday 10 September 2009, Steven Woody wrote: > On Wed, Sep 9, 2009 at 9:33 PM, David Boddie wrote: > > See this page for the links: > > > > http://www.qtrac.eu/pyqtbook.html > > but the URL is not reachable from here. is there another URL? thanks. Can't y

Re: "Rapid GUI Programming with Python and Qt" source code

2009-09-09 Thread David Boddie
On Wed Sep 9 07:11:26 CEST 2009, Steven Woody wrote: > *I've searched google and cannot find a valid link for the source code of > the book "Rapid GUI Programming with Python and Qt". Could anyone please > give me a non-broken URL?* See this page for the links: http://www.qtrac.eu/pyqtbook.htm

Re: Flowcharting in Python?

2009-09-07 Thread David Boddie
On Tuesday 08 September 2009 00:09, Grant Edwards wrote: > Have you looked at Skencil (nee Sketch)? It's a > vector/object-oriented drawing program written in Python: > > http://www.skencil.org/ > > It's not really optimized for flowcharts or block diagrams > (IIRC, it doens't have any concep

Re: Qstrings to Strings

2009-09-03 Thread David Boddie
On Thursday 03 September 2009 21:01, Stefan Behnel wrote: > Helvin wrote: >> Just wanted to say, to convert qstrings (or integers for that matter) >> to strings, use the str() function. >> >> http://learnwithhelvin.blogspot.com/2009/09/qstrings-and-strings.html > > Hmmm, will that return a Unico

Re: Python for professsional Windows GUI apps?

2009-08-25 Thread David Boddie
On Tuesday 25 August 2009 13:24, Wolfgang Keller wrote: > The area of _desktop_ database application development indeed looks like a > vast and very hostile desert in the Python landscape. > > The only framework that seems to be worth trying is Dabo. Unfortunately > there's little documentation,

Re: Pyserial and pyQt

2009-07-23 Thread David Boddie
On Thursday 23 July 2009 10:13, Dennis Lee Bieber wrote: > On Wed, 22 Jul 2009 10:32:51 -0700 (PDT), Seth > declaimed the following in gmane.comp.python.general: > >> Thanks for the response. I have gone through a lot of the tutorials. >> All of them(that I saw) seem to just deal will event-bas

Re: Pyserial and pyQt

2009-07-21 Thread David Boddie
On Tuesday 21 July 2009 21:37, Seth wrote: > I have used pyserial in the past but this is my first experience with > pyQt. I am using the Python xy package for windows current but might > move to linux. I have a small device that is outputting a basic text > string. I want to be able to read th

Re: PyQt4 + WebKit

2009-06-05 Thread David Boddie
On Friday 05 June 2009 21:33, dudekks...@gmail.com wrote: > On 1 Cze, 22:05, David Boddie wrote: >> I experimented a little and added an example to the PyQt Wiki: >> >> http://www.diotavelli.net/PyQtWiki/Usinga Custom Protocol with QtWebKit >> >> I hope it helps

Re: PyQt4 + WebKit

2009-06-01 Thread David Boddie
On Monday 01 June 2009 16:16, dudekks...@gmail.com wrote: > On 31 Maj, 02:32, David Boddie wrote: >> So, you only want to handle certain links, and pass on to WebKit those >> which you can't handle? Is that correct? > > Yes, I want to handle external links (out of my

Re: PyQt4 + WebKit

2009-05-30 Thread David Boddie
On Saturday 30 May 2009 17:39, dudekks...@gmail.com wrote: > I need to grab clicked links in QWebView. Everything is fine when I > use linkClicked() signal. LinkDelegationPolicy is set to > DelegateAllLinks and there is a problem. If some site has Javascript > my procedure receives QUrl from linkC

Re: any lib to extract pages form pdf and then merge?

2009-05-26 Thread David Boddie
On Tuesday 26 May 2009 06:47, oyster wrote: > I want to extract some pages from vary pdf files, then write them > with/witout rotation into one new pdf file. something likes this [...] > I have tried pypdf, but it errs and exits on some of my pdfs(no, the > files have no password) Maybe you cou

Re: Can't run PyQt apps with MacPython

2009-05-13 Thread David Boddie
On Wednesday 13 May 2009 17:53, Morad wrote: > I recently got a new MacBook Pro with Leopard, and would like to > develop using Python and PyQt. I installed the latest Qt SDK, updated > MacPython to V 2.5.4 and then proceeded to install SIP and PyQt as > described in Mark Summerfield's book on PyQ

Re: stuck with PyOBEX

2009-05-03 Thread David Boddie
On Sunday 03 May 2009 10:33, alejandro wrote: > Yes! > >> I'll send you an updated version to try if you would like to test it. My mails to you keep getting returned, so I've put it here: http://www.boddie.org.uk/david/Projects/Python/PyOBEX/Software/PyOBEX-0.21.zip Please let me know if it wo

Re: stuck with PyOBEX

2009-05-02 Thread David Boddie
On Saturday 02 May 2009 14:25, alejandro wrote: > I am having problems with connect() it says that it doesn't have sendall > atribute. > > Error: > > Traceback (most recent call last): > File "novi_pokusaj.py", line 25, in > client.connect() > File "C:\Python25\lib\PyOBEX\client.py", li

Re: stuck with PyOBEX

2009-04-29 Thread David Boddie
On Wednesday 29 April 2009 07:42, alejandro wrote: > So I should connect trough pybluez and send with obex?? Yes, or you could try lightblue: http://lightblue.sourceforge.net/ I've updated PyOBEX to try and be a bit more flexible when it comes to Bluetooth socket implementations, so you might

Re: stuck with PyOBEX

2009-04-28 Thread David Boddie
On Tuesday 28 April 2009 18:34, Diez B. Roggisch wrote: >> This module asks the socket module for AF_BLUETOOTH... in the socket >> module there is no such thing as AF_BLUETOOTH. Could it be that the >> person that made PyOBEX modified his socket module and forgot to give his >> socket module? Or a

Re: cross compile Python to Linux-ARM

2009-03-21 Thread David Boddie
On Thursday 19 March 2009 17:54, jefm wrote: > We are looking to use Python on an embedded Linux ARM system. > What I gather from googling the subject is that it is not that > straight forward (a fair amount of patching & hacking). > Nobody out there that has done it claims it is easy, which makes

Re: HOWTO for setting up a PyQt project in Eclipse ?

2009-02-05 Thread David Boddie
On Thursday 05 February 2009 18:13, Linuxguy123 wrote: > Does anyone know of a HOWTO for setting up a PyQt project in Eclipse ? > > I know about setting up a PyDev project, just wondering how to integrate > the QtDesigner parts. > > For example, should I save the QtDesigner project in the root P

Re: Cross platform compilation?

2009-02-04 Thread David Boddie
On Tuesday 03 February 2009 03:59, John Harper wrote: > Before I try to reverse engineer completely setup.py, is there > something obvious that needs to be done to get it to use the right tool > chain? I think it's more complicated than that, though in an ideal world it wouldn't have to be that w

Re: Calling Python-tk code from C/C++

2009-01-27 Thread David Boddie
On Tuesday 27 January 2009 18:29, Gabriel Genellina wrote: > En Tue, 27 Jan 2009 07:42:01 -0200, Rajorshi Biswas > escribió: > >> Hello all, This is my first post to this mailing list. Our requirement >> is to invoke a Tkinter python panel from a C++ GUI app where both GUI >> windows would run i

Re: how to dock another application under Linux ?

2008-12-18 Thread David Boddie
On Thursday 18 December 2008 20:09, Stef Mientki wrote: > Under windows it's fairly easy to capture an application > and dock in to your own wxPython application, > something like this: > - start the external application from within wxPython > - give the caption of the application a special name >

Re: PyQt: Pulling Abstract Item Data from Mime Data using Drag and Drop.

2008-12-12 Thread David Boddie
On Friday 12 December 2008 02:05, Mudcat wrote: > The drag is working up until the point I try to actually retrieve the > data. At that point I get an unhandled Runtime Error saying "no access > to protected functions or signals for objects not created in Python". That's correct, retrieveData() i

Re: is there really no good gui builder

2008-11-09 Thread David Boddie
On Sunday 09 November 2008 20:08, Duncan Booth wrote: > So are the references to 'Qt Open Source License' on the website > misleading? It depends on whether you assume that there's a separate license by that name. In practice, it's a placeholder for the licenses it's available under: "The Open S

Re: is there really no good gui builder

2008-11-09 Thread David Boddie
On Sunday 09 November 2008 13:45, Ben Finney wrote: > Duncan Booth <[EMAIL PROTECTED]> writes: > >> Mr.SpOOn wrote: >> > What's the problem with qt licence? >> >> "You must purchase a Qt Commercial License from Qt Software or from >> one of its authorized resellers before you start developing >>

Re: PyGUI as a standard GUI API for Python?

2008-10-14 Thread David Boddie
On Tuesday 14 October 2008 12:55, lkcl wrote: > hello_loader.py is the main err um i just double- > checked, so i'd be able to advise you and... err... the problem i > described (with the GridTest) seems to have... gone away!! There are lots of references to PyGTK classes in there.

Re: PyGUI as a standard GUI API for Python?

2008-10-13 Thread David Boddie
On Monday 13 October 2008 11:42, lkcl wrote: > i don't know if it _was_ detached from the layout, but it was > definitely still visible. see > http://pyjs.org/examples/gridtest/output/GridTest.html > for the example i was porting to pyqt4. each time i clicked "Next", a > new set of N,N would be

Re: PyGUI as a standard GUI API for Python?

2008-10-11 Thread David Boddie
On Saturday 11 October 2008 21:40, lkcl wrote: > On Oct 11, 3:31 pm, David Boddie <[EMAIL PROTECTED]> wrote: >> You can remove layouts from layouts with the QLayout.removeItem() method. > > yes... it didn't work. a layout within a layout - i think it was a &g

Re: PyGUI as a standard GUI API for Python?

2008-10-11 Thread David Boddie
On Saturday 11 October 2008 11:19, lkcl wrote: > pyqt4 has the concept of layouts. a layout can be a horizontal > layout, vertical, grid, and you can even specify the percentage or > ratio of the width (or height) that individual cells can use. you > attach a layout to a widget; you can attach la

Re: Python and Open Office

2008-09-18 Thread David Boddie
On Wednesday 17 September 2008 21:59, Terry Reedy wrote: > Hartmut Goebel wrote: >> Terry Reedy schrieb: >> >> The API docs are a bit hidden on the webpage. Here is the link: >> > > I wrote my comment *after* looking at the above, whic

Re: GUI programming with python

2008-09-12 Thread David Boddie
On Saturday 13 September 2008 01:04, sturlamolden wrote: > On Sep 12, 8:33 pm, [EMAIL PROTECTED] (Al Dykes) wrote: > >> OK, what are my choices for an IDE/GUI development tool that runs on XP? [...] > Cpython with PyQt: BlackAdder People using this combination apparently prefer Eric, these day

Re: configure kdevelop for python

2008-09-02 Thread David Boddie
On Sunday 31 August 2008 10:29, Sindhu wrote: > am a newbie to python language and kdevelop, so i would like to know > how to configure kdevelop for python programming? complete with a > debugger? Maybe asking on the kdevelop mailing list will yield a helpful answer: http://lists.kde.org/?l=kdev

Re: Genetic programming: pygene, pygp, AST, or (gasp) Lisp?

2008-07-20 Thread David Boddie
On Sunday 20 July 2008 09:52, John Ladasky wrote: > Is there a way to interface Lisp to Python, so that I can do all the > interface programming in the language I already know best -- and just > do the genetic parts in Lisp? I haven't seen exception handling in > Lisp, a feature I've come to love

Re: py2exe, PyQT, QtWebKit and jpeg problem

2008-06-23 Thread David Boddie
On Monday 23 June 2008 15:02, Carbonimax wrote: > If I copy the dll in the dist directory, and I use QPluginLoader() and > load(), > it does work in the .py but it doesn't in .exe made with py2exe > > my code : > dll = QPluginLoader(path_to_dll) > res = dll.load() > > res == true in the .py > re

Re: py2exe, PyQT, QtWebKit and jpeg problem

2008-06-20 Thread David Boddie
On Friday 20 June 2008 17:24, Phil Thompson wrote: > On Fri, 20 Jun 2008 08:04:57 -0700 (PDT), Carbonimax > <[EMAIL PROTECTED]> wrote: >> I have a problem with py2exe and QtWebKit : >> I make a program with a QtWebKit view. >> If I launch the .py directly, all images (jpg, png) are displayed but

Re: PyQt - How to prevent a dialog being resized?

2008-04-01 Thread David Boddie
ace the window requires and force it to remain at that size from then on. David -- David Boddie Lead Technical Writer, Trolltech ASA -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQT / QDate / QTableWidget

2008-03-28 Thread David Boddie
an be > sorted as dates, not strings, and originate from data formatted > "MMDD" Just use QDate objects instead of QDateTime objects and it should all just work. Good luck! David -- David Boddie Lead Technical Writer, Trolltech ASA -- http://mail.python.org/mailman/listinfo/python-list

EuroPython 2008 - Any interest in tutorials?

2008-03-17 Thread David Boddie
to see some of you there! David Boddie - EuroPython 2008 participant :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt, Cannot send events to objects owned by a different thread?

2007-11-25 Thread David Boddie
On Sun Nov 25 15:22:24 CET 2007, Alexander Tuchacek wrote: > i try to adress an qt object > > self.statusbar.showMessage("rtt %s" % (n.rtt)) > > in an callback function, comming from a shared lib importet by ctypes, on > osx this works wonderfull > > when i run the same code on linux (ubu

Re: OPLC purchase period extended

2007-11-24 Thread David Boddie
On Sat Nov 24 19:30:03 CET 2007, Grant Edwards wrote: > The XO laptop comes with a built-in Python IDE, so everybody on > c.l.p ought to have one... A nice idea in theory, but... 2. XO laptops will be shipped only to G1G1 participants and only to the street addresses they provide for themsel

Re: Contextmenu in a QTreeWidget with PyQT

2007-11-22 Thread David Boddie
On Wed Nov 21 19:46:48 CET 2007, blaven wrote: > I apologize in advance if this is not the correct forum to ask this > and if someone knows a better place, please let me know. There is a mailing list for PyQt/PyKDE issues: http://www.riverbankcomputing.com/mailman/listinfo/pyqt It's not a pro

Re: Drawing charts in Qt

2007-11-06 Thread David Boddie
On Tue Nov 6 15:46:07 CET 2007, Michel Albert wrote: [PyQwt and matplotlib] > PyQwt looks much more interesting, but I have trouble installing it. > On my machine it complains that sipconfig "has no attribute > '_pkg_config'". Is the configuration script finding the sipconfig file for SIP 3 or S

Re: Low-overhead GUI toolkit for Linux w/o X11?

2007-11-03 Thread David Boddie
On Sun Nov 4 03:22:27 CET 2007, Grant Edwards wrote: > I think we're definitely going to try to evaluate Qtopia on our > platform to see if it's any quicker and smaller than > wxWidgets/GTK+/X11. I guess that evaluation doesn't need to > use Python -- in theory we sould be able to compare perform

Re: Low-overhead GUI toolkit for Linux w/o X11?

2007-11-03 Thread David Boddie
On Sat Nov 3 20:45:54 CET 2007, Grant Edwards wrote: > I'm looking for GUI toolkits that work with directly with the > Linux frambuffer (no X11). It's an embedded device with > limited resources, and getting X out of the picture would be a > big plus. > > The toolkit needs to be free and open-so

PyQt with embedded python in Qt App

2007-11-02 Thread David Boddie
On Fri Nov 2 12:59:48 CET 2007, Bart. wrote: > Or I want to use PyQt in scripts to have similar gui for plugins written in > python > Or I want to extend application by scripts with PyQt. > > Or better question: > How to easy add python scripting in Qt application and have almast all > objects o

Re: fclient project seeking co-coders

2007-10-28 Thread David Boddie
On Sun Oct 28 11:49:17 CET 2007, Jürgen Urner wrote: > I Just recently registered a project fclient to sourceforge.net > [http://sourceforge.net/projects/fclient]. fclient is intended to > become desktop client for the freenet [freenetproject.org] > network written in python and Qt4. It sounds li

Re: PyQt ProgressBar

2007-10-16 Thread David Boddie
>app.processEvents() > > But the bar remain fix to 0% don't increase. > > can you tell me how to prooced Can you post a complete runnable code example, either here (if it's short enough) or to the PyQt mailing list? Thanks, David -- David Boddie Lead Techni

Re: Cross-platform GUI development

2007-10-12 Thread David Boddie
On Fri Oct 12 12:30:13 CEST 2007, Nick Craig-Wood wrote: > I'd recommend wxPython over those becase > > 1) native look and feel on all platforms > 2) doesn't require expensive licensing for non-commercial apps (QT) "Expensive" licensing is not required if you use the GNU General Public License (

Re: How to display a videostream in the PyQt GUI by a efficient way

2007-09-30 Thread David Boddie
On Sun Sep 30 09:10:40 CEST 2007, Kivilaya wrote: >I read the method in the given link and learn a lot from it. I'll > try to display the data inside a QWidget directly instead of the > current way. But I still have a question, is there any way to make the > displaying of RGB data in a QWidget

Re: How to display a videostream in the PyQt GUI by a efficient way

2007-09-29 Thread David Boddie
On Sat Sep 29 05:12:25 CEST 2007, kivilaya wrote: > As required, I need to get a videostream from a camera, and process > every frame to add some information on it, and then display the frame > in a PyQt GUI. > But I don't know how to display the videostream in the PyQt GUI by a > efficient wa

Re: Script to extract text from PDF files

2007-09-26 Thread David Boddie
On Wed Sep 26 23:50:16 CEST 2007, byte8bits wrote: > On Sep 26, 4:49 pm, Svenn Are Bjerkem > wrote: > > > I have downloaded this package and installed it and found that the > > text-extraction is more or less useless. Looking into the code and > > comparing with the PDF spec show a very early im

Script to extract text from PDF files

2007-09-26 Thread David Boddie
On Wed Sep 26 15:06:54 CEST 2007, byte8bits wrote: > On Sep 25, 10:19 pm, Lawrence D'Oliveiro central.gen.new_zealand> wrote: > > > This is inherent in the nature of PDF: it's a page-description language, > > not a document-interchange language. Each text-drawing command can put a > > block of t

Re: building a GUI

2007-09-23 Thread David Boddie
On Mon Sep 24 00:08:09 CEST 2007, stef mientki wrote: > Phil Thompson wrote: > > On Sunday 23 September 2007, stef mientki wrote: > > >> Could well be, > >> but I never looked at PyQt seriously, > >> because of their weird license. > > > > It's not weird. It's either GPL or proprietary. Your choic

QPicture and Qpainter PyQt4

2007-09-17 Thread David Boddie
On Mon Sep 17 09:29:43 CEST 2007, luca72 wrote: > class PictureFrame(QtGui.QFrame): > > def __init__(self, parent = None): > QFrame.__init__(self, parent) > picture = QtGui.QPicture() > > def paintEvent(self, event): > picture.load('dis.pic') > gr = QtGui.QPainter() > gr.

Re: Co-developers wanted: document markup language

2007-08-24 Thread David Boddie
On Fri Aug 24 11:04:33 CEST 2007, Torsten Bronger wrote: > Paul Rubin writes: > > > TeX/LateX have been around forever and are well established > > standards, as awful as they are. Why do we want ANOTHER markup > > language? > > Well, because they are awful. ;-) I don't see that there is a >

Re: Adventure-Engines in Python

2007-08-13 Thread David Boddie
On Mon Aug 13 11:33:14 CEST 2007, Wildemar Wildenburger wrote: > Are there any? > > I've set out to make an adventure game and now I'm trying to find a set > of python-modules to help me do that. I know of the usual non-python > suspects (AGAST, AGS, Wintermute, ...) and while I they are really

Re: Best programs written completly in Python

2007-08-05 Thread David Boddie
On Sun Aug 5 14:44:55 CEST 2007, Franz Steinhäusler wrote: > I'm only interested to have a list, or even help to > extend an existing one. If the main criterion is that the programs are written in Python then surely the PythonInfo Wiki is the place for such a list: http://wiki.python.org/moi

Re: [python-list] pdf read & write

2007-07-27 Thread David Boddie
On Fri Jul 27 15:35:02 CEST 2007, Hyunchul Kim wrote: > How can I read a pdf file and add invisible comment? > I want to make a script which read a pdf file and add tags inside the > file invisibly. Then, I will make a script for managing tags of given > pdf files. > > I know "referencer" can man

Re: Scope PyQt question

2007-07-26 Thread David Boddie
On Thu Jul 26 18:00:44 CEST 2007, dittonamed wrote: > On Jul 26, 10:15 pm, Stargaming wrote: > > Answering from a non-Qt point of view (ie. I don't know if there were > > cleaner ways using Qt stuff), you have to bind p somewhere not local to > > the function. Any attribute of `self` (that's hop

Re: Python-URL! - weekly Python news and links (Jul 16)

2007-07-18 Thread David Boddie
On Wed Jul 18 23:20:51 CEST 2007, Cameron Laird wrote: > Kay Schluehr wrote: > > >Not sure if it's important enough to be mentioned in weekly Python > >news but Europython 2007 actually happened and took place in Vilnius. > > *I* sure think it's important; is there a summary or narrative > fro

Re: Memory leak in PyQt application

2007-06-30 Thread David Boddie
On Thu Jun 28 19:21:36 CEST 2007, Alexander Eisenhuth wrote: > I've a memory leak in a PyQt application and no idea how to find it. What > happens in the application ? > > From QWindow a QDialog is called on a button "pressed()" signal, that > instantiate a QThread and waits for it. If the thr

Re: how to query/test the state of a qt widget?

2007-06-24 Thread David Boddie
On Sun Jun 24 02:20:55 CEST 2007, raacampbell wrote: > I'm writing a simple Python/Qt3 application and I am trying to write > some code in which the user presses a button and the program performs > action A or B depending upon the state of a pair of radio buttons. You would typically connect the

Re: Questions about mathematical and statistical functionality in Python

2007-06-17 Thread David Boddie
On Fri Jun 15 03:08:08 CEST 2007, Josh Gilbert wrote: > In a similar vein, I wish there was a reasonable Free Software equivalent to > Spotfire. The closest I've found (and they're nowhere near as good) are > Orange (http://www.ailab.si/orange) and WEKA > (http://www.cs.waikato.ac.nz/ml/weka/). Or

Re: No Python for Blackberry?

2007-05-19 Thread David Boddie
On Saturday 19 May 2007 03:19, walterbyrd wrote: > I could not find a version of Python that runs on a Blackberrry. > > I'm just amazed. A fairly popular platform, and no Python > implementation? If you can get the hardware into the hands of capable developers, they'll put Python on it. ;-) Dav

Re: Distributing programs depending on third party modules.

2007-05-16 Thread David Boddie
On May 16, 7:44 am, Tina I <[EMAIL PROTECTED]> wrote: > A binary would be ideal. I'll look into the freeze modules and > Pyinstaller. Even if they don't handle huge things like Qt it would be a > step in the right direction if it handles smaller third part modules. > And maybe the smartest thing t

Re: GUI tutorial

2007-05-14 Thread David Boddie
On May 14, 2:57 am, BartlebyScrivener <[EMAIL PROTECTED]> wrote: > On May 13, 12:51 pm, John K Masters <[EMAIL PROTECTED]> > wrote: > > > Can someone point me in the direction of a good tutorial on programming > > python with a GUI? > > Alan Gauld added a gui programming tutorial to his main course

Re: Do other Python GUI toolkits require this?

2007-04-24 Thread David Boddie
On Monday 23 April 2007 15:55, Kevin Walzer wrote: > I had originally thought that learning PyObjC might preclude me from > having to learn Objective-C, but that seems not to be the case. I have > previously found the same to be true with PyQt and wxPython--not knowing > the toolkits as they are i

Re: Generate report containing pdf or ps figures?

2007-04-24 Thread David Boddie
On Tuesday 24 April 2007 20:42, Cameron Laird wrote: > I want to make sure we're all keeping up with each other, so > I'll make explicit a couple of points, despite the risk of > redundancy: > A. Bundling GS is a little touchy, depending on > what you mean by that. Check out its license. >

Re: Beginner: Simple Output to a Dialog PyQt4

2007-04-20 Thread David Boddie
On Tuesday 17 April 2007 07:42, Glen wrote: > I've written a script in python and put together a simple QFrame with a > QTextBrowser with Designer. I've translated the C++ into python using > puic4. Just to avoid any misunderstanding: the form is actually stored as XML. You can create C++

Re: Beginner: Formatting text output (PyQt4)

2007-04-20 Thread David Boddie
On Thursday 19 April 2007 00:50, Glen wrote: > What seems to be happening is that the font that pyqt is using is not > fixed width, so I did this: > qTxtFormat = QTextCharFormat() > qTxtFormat.setFontFixedPitch(True) > ui.textEdit.setCurrentCharFormat(qTxtFormat) It may be that the font you're us

  1   2   >