[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: design for a new application
From:       Philippe Fremy <fremy () yalbi ! com>
Date:       2000-12-21 17:27:04
[Download RAW message or body]



> Python seems to be a very nice language. About the only
Indeed.

> thing it lacks is a platform-independent GUI interface
> (well, tcl/tk works maybe).
This is not true:
- there is TkInter which is the historical portable interface, available on 
all platform where python runs IIRC
- there are bindings for WxWindows, which is a very portable Gui Toolkit 
(mac, windows, unix, ...)
- there are bindings for Gtk which runs under Windows and Unix IIRC
- and of course, there are bindings for Qt, which work under Windows and Unix 
and integrates perfectly with Qt. For those, check
http://www.thekompany.com/projects/pykde

> But to get a good answer, you'd probably give some more
> specs:
> - is it heavy-duty video coding/encoding
This would exclude python as the python programs are rather slow.

> - is it sound related
> - is it image related
Bindings for Qt or bindings for the SDL which can perform that.

> - do you need a GUI
Lot of gui availables

> - Must it be platform independent or
then python is a good choice!

> - what platforms should it run on.
Windows + Unix --> PyQt amongst other.

> - network transparant file access?
python has module for lots of protocols.

> (you might notice, a combination of YES to all leads
> to C++ w/ Qt:)
One Yes less and you have plenty of choice. 

And even with all YES, there are still plenty of choice, especially SDL or 
Gtk if you like C. But of course, on a kde mailing-list, you don't expect 
poeple recommanding gtk :-)


If you don't have time related constraints, go for PyQt. You get all the 
advantages of Python (cool language, quick development, lot of module 
available, ...) and all the advantages of Qt (very good documentation, clean 
object design, signal/slot mechanism, ...). Even if you don't target it, you 
can run your app under windows. And you can use the pyuic which generates 
python code from the Qt Designer tool.

Note that bindings for Kde 2 are not released yet but the author is aware 
that we are all waiting for them.

	cheers,

	Philippe, PyQt enthusiast






 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic