473,406 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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?

Jul 18 '05 #1
8 1644
Yes, wxpython is cross-platform. I also suggest pygtk for another
toolkit.

Jul 18 '05 #2
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

Jul 18 '05 #3
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 :-)

Jul 18 '05 #4
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
--
Thomas Güttler, http://www.thomas-guettler.de/
Jul 18 '05 #5
Thomas Guettler wrote:
Am Tue, 22 Feb 2005 20:09:50 -0800 schrieb Raghul:
Which of the UI I can used for my program that I can use both in
windows and in Linux. 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.
Is it possible for me to use Wxpython for my program so that it can
run on both the windows and linux machine? It is, indeed, possible (and often easy) to have the same program run
well on both platforms.
Will it be platform independent?

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
Sc***********@Acm.Org
Jul 18 '05 #6
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

Jul 18 '05 #7
Scott David Daniels <Sc***********@Acm.Org> writes:
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
--
Mike Meyer <mw*@mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Jul 18 '05 #8
Mike Meyer wrote:
"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
Jul 18 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mikko Ohtamaa | last post by:
Hi, I am quite new to Python, PythonCom and COM generally. As a former Java programmer, I have found Python's flexible ability to access native Win32, especially COM, very comfortable. However,...
0
by: Phillip J. Eby | last post by:
PEP: 333 Title: Python Web Server Gateway Interface v1.0 Version: $Revision: 1.1 $ Last-Modified: $Date: 2004/08/27 17:30:09 $ Author: Phillip J. Eby <pje at telecommunity.com> Discussions-To:...
6
by: Michael Foord | last post by:
I'm writing a couple of modules that store information about user 'behaviour'. E.g. a user accesses a certain page of a website at a certain date-time with a certain referrer. I need to analyse...
9
by: Pierre Barbier de Reuille | last post by:
Ok, I first want to stress that I looked through the newsgroups archives (on Google) for an answer to my question, but I didn't find it. It's about the interface of the set classes as defined in...
11
by: Maxim Kasimov | last post by:
Hi. Are there widely used and recommended Python libraries that will let me makes a portable text user interface? -- Best regards, Maxim
3
by: zlst | last post by:
Many technological innovations rely upon User Interface Design to elevate their technical complexity to a usable product. Technology alone may not win user acceptance and subsequent marketability....
7
by: p_shakil | last post by:
Hi, I would like to know the interface concept in Python.How the Interface is defined and implemented in Python?. How to access the interface fromn Client? Thanks PSB
2
by: phil.aerts.tln | last post by:
Hi, for one of my python projects I need an user interface similar to that of cisco IOS or even better Juniper JUNOS. Does anyone know of existing python modules that gives this kind of...
3
by: psbasha | last post by:
Hi, I would like to call the same aplication executable with and without Graphical User Interface. Requirement: With Tkinter User interface,user can give the inputs to run the application (...
30
by: Yorian | last post by:
Hey, Although I've been using classes and object for quite a while now I've never actually programmed proper OO code yet. It ofcourse depends on what you call proper OO code. I have been...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.