Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 18th, 2005, 10:56 PM
Raghul
Guest
 
Posts: n/a
Default user interface for python

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?

  #2  
Old July 18th, 2005, 10:56 PM
helmi03@gmail.com
Guest
 
Posts: n/a
Default Re: user interface for python

Yes, wxpython is cross-platform. I also suggest pygtk for another
toolkit.

  #3  
Old July 18th, 2005, 10:56 PM
Fuzzyman
Guest
 
Posts: n/a
Default Re: user interface for python

wax is a nice layer on top of wx - it maintains cross-platform-ability
and is easier to learn !

See http://zephyrfalcon.org

Regards,

Fuzzy
http://www.voidspace.org.uk/python/index.shtml

  #4  
Old July 18th, 2005, 10:56 PM
Harlin Seritt
Guest
 
Posts: n/a
Default Re: user interface for python

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 :-)

  #5  
Old July 18th, 2005, 10:56 PM
Thomas Guettler
Guest
 
Posts: n/a
Default Re: user interface for python

Am Tue, 22 Feb 2005 20:09:50 -0800 schrieb Raghul:
[color=blue]
> 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?[/color]

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


--
Thomas Güttler, http://www.thomas-guettler.de/


  #6  
Old July 18th, 2005, 10:57 PM
Scott David Daniels
Guest
 
Posts: n/a
Default Re: user interface for python

Thomas Guettler wrote:[color=blue]
> Am Tue, 22 Feb 2005 20:09:50 -0800 schrieb Raghul:[color=green]
>> Which of the UI I can used for my program that I can use both in
>>windows and in Linux.[/color][/color]
Several. Tkinter and wxPython are good choices -- they run on the three
major platforms: Linux/unix, Windows, and Mac OS X.
[color=blue]
> 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.[/color]
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.
[color=blue][color=green]
>> Is it possible for me to use Wxpython for my program so that it can
>> run on both the windows and linux machine?[/color][/color]
It is, indeed, possible (and often easy) to have the same program run
well on both platforms.
[color=blue][color=green]
>> Will it be platform independent?[/color][/color]
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
Scott.Daniels@Acm.Org
  #7  
Old July 18th, 2005, 10:57 PM
Fuzzyman
Guest
 
Posts: n/a
Default Re: user interface for python

Yeah.. Tkinter is nice. Wzx is just as easy though, but scales better
because it's built on wx.

Regards,

Fuzzy
http://www.voidsapce.org.uk/python/index.shtml

  #8  
Old July 18th, 2005, 10:57 PM
Mike Meyer
Guest
 
Posts: n/a
Default Re: user interface for python

Scott David Daniels <Scott.Daniels@Acm.Org> writes:
[color=blue]
> 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.[/color]


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

-- John Gilmore (?)

<mike
--
Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
  #9  
Old July 18th, 2005, 10:59 PM
Peter Hansen
Guest
 
Posts: n/a
Default Re: user interface for python

Mike Meyer wrote:[color=blue]
> "There are no portable programs, only ported programs."
>
> -- John Gilmore (?)[/color]

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
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles