Re: [PyQt] Global Interpreter Lock

2009-04-11 Thread Chris Withers
Jason Voegele wrote: I answered this in my reply to Giovanni. My QThread derivatives are in Python. From what I've read so far, that sounds like bad news. :( Well, only in so much as you should spawn of processes to do this work... Encoding sounds like something that should be pretty easily

Re: [PyQt] Re: Any Large PyQt Projects?

2009-02-20 Thread Chris Withers
Toby Dickenson wrote: * Startup time while your modules are imported. Plan to have a splash screen with a progress bar :-( How do you do this with PyQt? Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk

Re: [PyQt] Scripting framework and licensing

2009-02-19 Thread Chris Withers
Giovanni Bajo wrote: http://code.activestate.com/recipes/496746/ The RestrictedPython package is probably a more robust and maintained version of this... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk _

Re: [PyQt] PyQt4.Qtcore defines 'hex'

2009-01-07 Thread Chris Withers
Neal Becker wrote: If the pyqt examples did not use *, and if you could import a useful enough subset without doing that, I'd agree. If the suggestion is to explicitly qualify everything, I don't think that's reasonable. Yes, python, well know for believing that implicit is better than expli

Re: [PyQt] PyQt4.Qtcore defines 'hex'

2009-01-07 Thread Chris Withers
Phil Thompson wrote: This has been discussed thousands of times and it starts getting annoying. Yes, it is annoying that all the example code continues to be in a form that confuses users trying to learn PyQt. *None* of the PyQt4 examples uses star imports. Hmmm, apologies then, must have b

Re: [PyQt] PyQt4.Qtcore defines 'hex'

2009-01-07 Thread Chris Withers
Giovanni Bajo wrote: On mer, 2009-01-07 at 09:26 +, Chris Withers wrote: Phil Thompson wrote: On Tue, 06 Jan 2009 14:19:50 -0500, Neal Becker wrote: A bit nasty, since I see (and follow) lots of examples that say: from PyQt4.QtCore import * This redefines the builtin hex. Check the

Re: [PyQt] PyQt4.Qtcore defines 'hex'

2009-01-07 Thread Chris Withers
Phil Thompson wrote: On Tue, 06 Jan 2009 14:19:50 -0500, Neal Becker wrote: A bit nasty, since I see (and follow) lots of examples that say: from PyQt4.QtCore import * This redefines the builtin hex. Check the Roadmap. Appending a _ just to make an unpleasant style of programming work seem

Re: [PyQt] newbie questions...

2008-08-22 Thread Chris Withers
David Boddie wrote: http://www.riverbankcomputing.com/software/sip/intro IS there no way to package up an application such that you don't need to seperately install python, pyqt4 and then the app? In theory: http://www.diotavelli.net/PyQtWiki/Deploying_PyQt_Applications Cool, thanks for

Re: [PyQt] newbie questions...

2008-08-16 Thread Chris Withers
Andreas Pakulat wrote: Get it from your distribution under linux or use the ready-made installer from Phil for windows. I don't know what the state on MacOSX is. In worst case you're fetching sip+pyqt4 what's sip? - How do I package an app up that uses PyQt4 as a double-click-installer for

Re: [PyQt] newbie questions...

2008-08-16 Thread Chris Withers
Phil Thompson wrote: PyPI is a PIA to use when you are not using eggs. Okay, let me rephrase: how come PyQt4 isn't available as an egg? (for the record, I hate eggs, but the python community has adopted them, so I'm just attempting to put up and shut up. zc.buildout does offer some analgesic f

Re: [PyQt] newbie questions...

2008-08-12 Thread Chris Withers
Andreas Pakulat wrote: - how come PyQt4 isn't on PyPI? (Nowadays I'm used to just specifying packages as egg requirements in a buildout.cfg (http://buildout.zope.org/) but I guess I can't do that with PyQt4?) Because so far there's little interest in that I think, plus PyQt4 doesn't use dist

Re: [PyQt] newbie questions...

2008-08-12 Thread Chris Withers
Phil Thompson wrote: That seems weird to put it politely. I would have thought they both had the same interfaces? It's not a technical limitation. It is to prevent people developing a commercial product with the GPL version and then switching to the commercial version at the last minute. The Py

[PyQt] newbie questions...

2008-08-08 Thread Chris Withers
Hey All, Apologies for the newbie questions, I'm still trying to decide what gui toolkit I want to use and so would like to give Qt4 a go. Everything I do is in python, so that leads me to PyQt4 ;-) I'm currently doing entirely open soruce development on Windows. However, I wouldn't like to

[PyKDE] Cant install PyKDE

2005-08-31 Thread Chris Withers
Output is as follows: PyKDE version 3.11.3 --- Python include directory is /usr/include/python2.4 Python version is 2.4.0 sip version is 4.2.1 (4.2.1) Qt directory is /usr/lib/qt-3.3 Qt version is 3.3.4 PyQt directory is /usr/share/sip PyQt version is 3.14.1 (3.14.1) KDE b