Anyone have opinions about whether we will be better off using PythonNet or
wxPython for the GUI layer of our application on Windows? Our code is all
Python and is now running on Mac OS X with PyObjC and Cocoa, which works
very well. Our goal is not necessarily to move to a cross-platform
solution, but rather to create a solid Windows version that looks and feels
like a native application. All the code that interacts with the user is
factored out of our business logic, so it is a matter of find a good
view/controller library and writing a thin glue layer. And, of course, we
want to build it as efficiently and robustly as we can.
Thanks,
Bob 7 1871
"Bob Swerdlow" <sw******@maine.rr.com> wrote in message
news:x3*******************@twister.nyroc.rr.com... Anyone have opinions about whether we will be better off using PythonNet
or wxPython for the GUI layer of our application on Windows? Our code is all Python and is now running on Mac OS X with PyObjC and Cocoa, which works very well. Our goal is not necessarily to move to a cross-platform solution, but rather to create a solid Windows version that looks and
feels like a native application. All the code that interacts with the user is factored out of our business logic, so it is a matter of find a good view/controller library and writing a thin glue layer. And, of course, we want to build it as efficiently and robustly as we can.
Everyone has opinions :-)
I have settled on wxPython principally because of
1) Linux/Gnome <-> MS Windows portablility of the code.
2) The fact that wxPython follows the look and feel of whatever window
themes might be installed in Linux/Gnome or MS Windows.
3) Apps so written have that native "look and feel" and fit right in.
Thomas Bartkus
Bob Swerdlow wrote: Anyone have opinions about whether we will be better off using PythonNet or wxPython for the GUI layer of our application on Windows? Our code is all Python and is now running on Mac OS X with PyObjC and Cocoa, which works very well. Our goal is not necessarily to move to a cross-platform solution, but rather to create a solid Windows version that looks and feels like a native application. All the code that interacts with the user is factored out of our business logic, so it is a matter of find a good view/controller library and writing a thin glue layer. And, of course, we want to build it as efficiently and robustly as we can.
I would also recommend wxPython. It runs on Macs, too, so you can at
least see how it compares to your PyObjC interface and keep primarily
developing on your Mac.
You might also be interested in PyGUI although it doesn't have a native
Windows implementation yet: http://nz.cosc.canterbury.ac.nz/~greg/python_gui/
On Tue, 11 Jan 2005 12:55:42 -0600, Doug Holton <a@b.c> wrote: You might also be interested in PyGUI although it doesn't have a native Windows implementation yet: http://nz.cosc.canterbury.ac.nz/~greg/python_gui/
Generally speaking, appart from MFC-style programming with Python32,
what are the non-alpha alternatives to write purely Windows apps in
Python today, ie. without the weight of extra bagage like wxWidgets?
I'm not looking at fancy options, since the apps I write would be fine
with just the core Windows widgets along with a few add-ons like a
grid and the extended Win95 widgets.
Thx
Luke.
Luke Skywalker <lu**@tatooine.planet> writes: On Tue, 11 Jan 2005 12:55:42 -0600, Doug Holton <a@b.c> wrote:You might also be interested in PyGUI although it doesn't have a native Windows implementation yet: http://nz.cosc.canterbury.ac.nz/~greg/python_gui/
Generally speaking, appart from MFC-style programming with Python32, what are the non-alpha alternatives to write purely Windows apps in Python today, ie. without the weight of extra bagage like wxWidgets?
I'm not looking at fancy options, since the apps I write would be fine with just the core Windows widgets along with a few add-ons like a grid and the extended Win95 widgets.
Well, venster. Although it is most certainly alpha. But with some
work...
Thomas
On Tue, 11 Jan 2005 22:15:36 +0100, Thomas Heller <th*****@python.net>
wrote: Well, venster. Although it is most certainly alpha. But with some work...
Thx, I'll keep an eye on it. http://venster.sourceforge.net/
Luke.
Wow, Venster looks cool and to think I've never
heard of it before. I knew following this
newsgroup would pay off one day...
Luke Skywalker wrote: On Tue, 11 Jan 2005 22:15:36 +0100, Thomas Heller <th*****@python.net> wrote:
Well, venster. Although it is most certainly alpha. But with some work...
Thx, I'll keep an eye on it.
http://venster.sourceforge.net/
Luke.
Still, what I think would appeal to a lot of people
(although they might not know it yet) as a GUI solution
for Python is Mozilla XUL with all the RDF and XPCOM
crap surgically removed from it.
If you've ever tried a couple of basic XUL tutorials, I
think you would be convinced that XUL is an even better
way to develop GUIs than visual RAD tools.
After years of doing web apps, I feel the DHTML/DOM
approach as applied to GUI creation is superior in terms
of learning curve, productivity and ease of code maintenance
to imperative language, event-driven, IDE-coupled frameworks
like Delphi, Windows Forms or Swing... except for the fact
that the HTML widgets (if you could even call them that) are
very primitive.
XUL essentially gives you full fledged GUI widgets and
allows you to script them from Javascript the same way
you script HTML elements via DOM or DHTML (very easily,
in other words). Now, imagine being able to use Python
instead of Javascript... sounds like a match made in
heaven to me.
Unfortunately, the Mozilla developers are too enamoured
with Javascript and RDF and XPCOM to realize that
XUL (which is really shaping up beautifully if you look
at Firefox and Thunderbird) is the real star in their
stable and many people would like to use it without being
forced to deal with the other complicated, overengineered
technologies surrounding it. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Christopher Culver |
last post by:
I'm creating a home-library management program with Python 2.2, PyGTK, and
Glade. While I've been many little programs before, this is my first large
application in Python. My question is how I...
|
by: BOOGIEMAN |
last post by:
Well that's it, how do I make Windows Application with Python ???
Is there simple way that works 100% ? How can I rework visual design
done in VS 2003 to use it for my python program ?
|
by: TPJ |
last post by:
GUI's etc: PyGtk on Windows
"(...) So if someone develops mainly for X and just wants to make sure
that it is not impossible to run on Windows, you can use PyGTK. (...)",
July 2nd, 1999
pyGTK...
|
by: Justin Sane |
last post by:
I have bought a book to learn C++, I bought Jesse Liberty's thick book,
and so far I haven't seen how I can create simple applications for Windows
with buttons, checkboxes, text areas, etc......
|
by: sri2097 |
last post by:
Hi,
I'm trying to zip a particular fiolder and place the zipped folder into
a target folder using python. I have used the following command in
'ubuntu'.
zip_command = 'zip -qr %s %s' % (target,...
|
by: john.orlando |
last post by:
Hello,
I'm a newbie to Python (literally, within the last two weeks), and I am
playing around with Tkinter to build some simple GUIs. I am attempting
to build a simple class that displays a GIF. ...
|
by: jiang.haiyun |
last post by:
Now i began to learn GUI programming. There are so many
choices of GUI in the python world, wxPython, pyGTK, PyQT,
Tkinter, .etc, it's difficult for a novice to decide, however.
Can you draw a...
|
by: Mohitz |
last post by:
Hi,
How do you write a Windows GUI application in C++ ??
And is C++ the best language to write GUI applications in?
Thank you
Mohit
|
by: geoffbache |
last post by:
Hi,
As part of my efforts to write a test tool that copes with GUIs
nicely, I'm trying to establish how I can start a GUI process on
Windows that will not bring up the window. So I try to hide...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
| |