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
Phil Thompson wrote: On Tue, 06 Jan 2009 14:19:50 -0500, Neal Becker ndbeck...@gmail.com 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

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

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 ndbeck...@gmail.com wrote: A bit nasty, since I see (and follow) lots of examples that say: from PyQt4.QtCore import * This redefines the builtin

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

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

[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-09-01 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