473,385 Members | 1,893 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,385 software developers and data experts.

Newbie Python questions

I recently discovered Python and see it as a great language to use for
personal projects (and more). I made my living for over a decade as a
coder in C, C++, ADA, Fortran, and Assembly before moving to systems
engineering.

I'm now retired, and would love to code again. I see Python as the
perfect language to get a good program working in a short time. My
question is in regard to GUI platforms. My primary target would be
Windows, but I would also like be able to support Linux and Mac
versions if possible. I'm also interested in using a system that also
has support for pure C++ applications. As such, and after reading many
web pages regarding Python GUIs, I believe I have the candidates
narrowed down to pyQT and wxPython.

The first question -- how steep is the curve to become proficient with
the above GUI packages? If the answer is "not very" then there is no
need for the following questions as I can try both on for size to see
which I like best. However if it is a sizable investment in time, I'd
like to maximize my efforts and choose the one I'll end up using in
the end.

The biggest hurdle I can see is the cost of the QT licence for
commercial software, though apparently it can be acquired for a
reasonable price via the BlackAdder package. Does purchasing the
BlackAdder also include the needed software support for C++
development? Does the BlackAdder purchase also allow for licence of
standard C++ apps?

Since there appears to be no commercial licencing fee for wxWidgets/
wxPython, the last question is what do I gain from going QT over wx?
I've seen great applications written with both (on my computer I have
the wxPython Digsby and the pyQT apps "Mnemosyne" and "Anki". All seem
to be solid.
Jul 29 '08 #1
6 1120
LessPaul <Le******@gmail.comwrote:
>
...My
question is in regard to GUI platforms. My primary target would be
Windows, but I would also like be able to support Linux and Mac
versions if possible. I'm also interested in using a system that also
has support for pure C++ applications. As such, and after reading many
web pages regarding Python GUIs, I believe I have the candidates
narrowed down to pyQT and wxPython.

The first question -- how steep is the curve to become proficient with
the above GUI packages?
There is so much personal preference here that it is extremely hard to give
any guidance. If you have done any Windows programming at all, so that you
are familiar with the event-driven programming model, then I don't think
you would see that much difference in learning curve. The two packages are
more alike than they are different -- the various APIs are just spelled
differently.

I happen to be a big wxPython fan. I learn best by example, and wxPython
has a 44,000-line demo suite with 167 source files that demonstrates
virtually every class it includes.
>Since there appears to be no commercial licencing fee for wxWidgets/
wxPython, the last question is what do I gain from going QT over wx?
I've seen great applications written with both (on my computer I have
the wxPython Digsby and the pyQT apps "Mnemosyne" and "Anki". All seem
to be solid.
Yep. Personal preference.
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Jul 31 '08 #2
One great open source GUI package that you left out is GTK ie. pygtk.
i cant compare it with wx as i have never used it but isay its much
better than QT.
Anyway for ur q if u want to compair qt n wx. QT should be faster coz
it has a better documentation.
and welcome to the python family!

kind regards
binaryjesus
On Jul 31, 12:10 pm, Tim Roberts <t...@probo.comwrote:
LessPaul <LessP...@gmail.comwrote:
...My
question is in regard to GUI platforms. My primary target would be
Windows, but I would also like be able to support Linux and Mac
versions if possible. I'm also interested in using a system that also
has support for pure C++ applications. As such, and after reading many
web pages regarding Python GUIs, I believe I have the candidates
narrowed down to pyQT and wxPython.
The first question -- how steep is the curve to become proficient with
the above GUI packages?

There is so much personal preference here that it is extremely hard to give
any guidance. If you have done any Windows programming at all, so that you
are familiar with the event-driven programming model, then I don't think
you would see that much difference in learning curve. The two packages are
more alike than they are different -- the various APIs are just spelled
differently.

I happen to be a big wxPython fan. I learn best by example, and wxPython
has a 44,000-line demo suite with 167 source files that demonstrates
virtually every class it includes.
Since there appears to be no commercial licencing fee for wxWidgets/
wxPython, the last question is what do I gain from going QT over wx?
I've seen great applications written with both (on my computer I have
the wxPython Digsby and the pyQT apps "Mnemosyne" and "Anki". All seem
to be solid.

Yep. Personal preference.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.


Jul 31 '08 #3
On Jul 29, 12:28*pm, LessPaul <LessP...@gmail.comwrote:
I recently discovered Python and see it as a great language to use for
personal projects (and more). I made my living for over a decade as a
coder in C, C++, ADA, Fortran, and Assembly before moving to systems
engineering.

I'm now retired, and would love to code again. I see Python as the
perfect language to get a good program working in a short time. My
question is in regard to GUI platforms. My primary target would be
Windows, but I would also like be able to support Linux and Mac
versions if possible. I'm also interested in using a system that also
has support for pure C++ applications. As such, and after reading many
web pages regarding Python GUIs, I believe I have the candidates
narrowed down to pyQT and wxPython.

The first question -- how steep is the curve to become proficient with
the above GUI packages? If the answer is "not very" then there is no
need for the following questions as I can try both on for size to see
which I like best. However if it is a sizable investment in time, I'd
like to maximize my efforts and choose the one I'll end up using in
the end.

The biggest hurdle I can see is the cost of the QT licence for
commercial software, though apparently it can be acquired for a
reasonable price via the BlackAdder package. Does purchasing the
BlackAdder also include the needed software support for C++
development? Does the BlackAdder purchase also allow for licence of
standard C++ apps?

Since there appears to be no commercial licencing fee for wxWidgets/
wxPython, the last question is what do I gain from going QT over wx?
I've seen great applications written with both (on my computer I have
the wxPython Digsby and the pyQT apps "Mnemosyne" and "Anki". All seem
to be solid.
Tim forgot to mention that the wxPython user's group is very helpful
and fun. I don't know how the pyQT one is. You could try both toolkits
just working on some toy projects before you work on anything
commercial. Then they're both free! And you can find out which one
better suits you.

Mike
Jul 31 '08 #4
binaryjesus <co***********@gmail.comwrote:
>
One great open source GUI package that you left out is GTK ie. pygtk.
i cant compare it with wx as i have never used it but isay its much
better than QT.

Anyway for ur q if u want to compair qt n wx. QT should be faster coz
it has a better documentation.
Holy moly, did you send this from your cell phone?
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Aug 2 '08 #5
On Aug 2, 3:07*pm, Tim Roberts <t...@probo.comwrote:
binaryjesus <coolman.gu...@gmail.comwrote:
One great open source GUI package that you left out is GTK ie. pygtk.
i cant compare it with wx as i have never used it but isay its much
better than QT.
Anyway for ur q if u want to compair qt n wx. QT should be faster coz
it has a better documentation.

Holy moly, did you send this from your cell phone?
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
Thanks much to all the replies. At this point I believe I'm going to
start with wx and go from there. I probably will build a small test
app or two and try the various packages. It doesn't sound like the
APIs are going to be too tough to grasp. And yes, I've about 10 years
work in Windows using an event-driven model (LabWindows).
Aug 4 '08 #6
On Mon, Aug 4, 2008 at 1:27 PM, LessPaul <Le******@gmail.comwrote:
On Aug 2, 3:07 pm, Tim Roberts <t...@probo.comwrote:
>binaryjesus <coolman.gu...@gmail.comwrote:
>One great open source GUI package that you left out is GTK ie. pygtk.
i cant compare it with wx as i have never used it but isay its much
better than QT.
>Anyway for ur q if u want to compair qt n wx. QT should be faster coz
it has a better documentation.

Holy moly, did you send this from your cell phone?
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

Thanks much to all the replies. At this point I believe I'm going to
start with wx and go from there. I probably will build a small test
app or two and try the various packages. It doesn't sound like the
APIs are going to be too tough to grasp. And yes, I've about 10 years
work in Windows using an event-driven model (LabWindows).
--
http://mail.python.org/mailman/listinfo/python-list
Make sure to subscribe to the wxPython list the people there have
helped me immensely in the past.

--
Stand Fast,
tjg. [Timothy Grant]
Aug 4 '08 #7

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

Similar topics

4
by: Skip Montanaro | last post by:
(moving over from webmaster mailbox) scott> I'm sorry for bothering you, but I've tried to post to the Python scott> Tutor Mail List, tried to get someone from Bay PIggies to scott> respond, but...
3
by: donchoi | last post by:
Hi, newbie here, sorry. I have a couple of basic Python questions. 1) How do I open 'datafile' and skip to the ith line for reading? I have a loop counter i for this purpose. The data file is very...
8
by: Krypto | last post by:
Hi, I have used Python for a couple of projects last year and I found it extremely useful. I could write two middle size projects in 2-3 months (part time). Right now I am a bit rusty and trying...
5
by: Banibrata Dutta | last post by:
Hi, I've gone through the list of "language differences" between 2.3 / 2.4 & 2.5 of CPython. I've spend around 2 weeks now, learning v2.5 of CPython, and I consider myself still very very...
16
by: Raxit | last post by:
Hi, i was reading/learning some hello world program in python. I think its very simillar to Java/C++/C#. What's different (except syntax) ? what can i do easily with python which is not easy...
10
by: mcl | last post by:
Why can I not the change the value of a variable in another class, when I have passed it via a parameter list. I am sure I am being stupid, but I thought passed objects were Read/ Write eg...
5
by: johnericaturnbull | last post by:
Hi - I am very new to python. I get this random core dump and am looking for a good way to catch the error. I know the function my core dump occurs. Is there any error catching/handling that I...
10
by: Mladen Gogala | last post by:
I am a Python newbie who decided to see what that Python fuss is all about. Quite frankly, I am a bit perplexed. After having had few months of experience with Perl (started in 1994 with Perl v4,...
0
by: Robert Kern | last post by:
Joe Hays wrote: You will want to ask numpy questions on the numpy mailing list (preferably with a subject line a bit more informative with respect to the actual problem). ...
0
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,...
0
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...
0
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...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.