user interface for python

R

Raghul

Hi,
Which of the UI I can used for my program that I can use both in
windows and in Linux. Is it possible for me to use Wxpython for my
program so that it can run on both the windows and linux machine? Will
it be platform independent?
 
H

Harlin Seritt

Tkinter!
Ease ***** Well-documented? Easy to Learn?
Functionality ***** Can I get it to do what I need it to do?
Looks *** Does it look good?

Well, beauty is after all in the eye of the beholder. Anything I can
get to work on either platform with minimum effort and quick writing
looks good to me :)
 
T

Thomas Guettler

Am Tue, 22 Feb 2005 20:09:50 -0800 schrieb Raghul:
Hi,
Which of the UI I can used for my program that I can use both in
windows and in Linux. Is it possible for me to use Wxpython for my
program so that it can run on both the windows and linux machine? Will
it be platform independent?

Hi,

I like pygtk. It should be portable to windows, but I have
not tried this yet. Up to now I only used it under linux.

Thomas
 
S

Scott David Daniels

Thomas said:
Am Tue, 22 Feb 2005 20:09:50 -0800 schrieb Raghul:
Several. Tkinter and wxPython are good choices -- they run on the three
major platforms: Linux/unix, Windows, and Mac OS X.
> I like pygtk. It should be portable to windows, but I have
> not tried this yet. Up to now I only used it under linux.
I believe this may be a reasonable choice as well. Another choice is
PyQt, which has a great simple model and definition, but has, I believe,
licensing issues if you intend to deliver a product to many PCs.
It is, indeed, possible (and often easy) to have the same program run
well on both platforms.
You can write portable programs (if you test across platforms). The
only truly portable programs in any language are abstract. Once you
start dealing with I/O and the real world, you inevitably have to face
issues one circumstance at a time. Both Tkinter and wxPython spend a
lot of effort in reducing the work you have to do. Don't fool
yourself with a manager-friendly slogan; programs must be tested to
work. Any I/O heavy (or threaded, or ....) application running on two
platforms will take more work than on a single platform. Python and
wxPython or Tkinter, for example, _allow_ you to write portable
programs, but they don't _guarantee_ it.

--Scott David Daniels
(e-mail address removed)
 
M

Mike Meyer

Scott David Daniels said:
Thomas Guettler wrote:
You can write portable programs (if you test across platforms). The
only truly portable programs in any language are abstract. Once you
start dealing with I/O and the real world, you inevitably have to face
issues one circumstance at a time. Both Tkinter and wxPython spend a
lot of effort in reducing the work you have to do. Don't fool
yourself with a manager-friendly slogan; programs must be tested to
work. Any I/O heavy (or threaded, or ....) application running on two
platforms will take more work than on a single platform. Python and
wxPython or Tkinter, for example, _allow_ you to write portable
programs, but they don't _guarantee_ it.


"There are no portable programs, only ported programs."

-- John Gilmore (?)

<mike
 
P

Peter Hansen

Mike said:
"There are no portable programs, only ported programs."

-- John Gilmore (?)

This doesn't really ring true, unless one insists on defining
"portable" to include the idea of "universally".

I've got dozens of Python utilities that run equally well
on my Linux machines and my Windows machines. I didn't
"port" them, I just wrote them in Python and put them in
both places.

Maybe I'm missing the point of Gilmore's comment...

-Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,221
Messages
2,571,131
Members
47,747
Latest member
swapote

Latest Threads

Top