Re: GUI (tkinter) popularity and job prospects for

2020-10-26 Thread Edmondo Giovannozzi
Il giorno venerdì 23 ottobre 2020 alle 18:55:53 UTC+2 john... ha scritto:
> On 23/10/2020 05:47, Grant Edwards wrote: 
> > 
> >> I think that commercial desktop applications with a python 
> >> compatible GUI would likely use QT or a Python binding thereof. 
> > Agreed. If you want to improve you "hirability" for GUI application 
> > development, I would probably put Qt first. Then gobject or 
> > wx. Tkinter would probably be last.
> I've used tkinter and wxPython occasionally in the past for 1 off test 
> tasks (and interest). What's the advantage of Qt? 
> 
> John

I use PyQt in research application, there is a library pyqtgraph 
(http://www.pyqtgraph.org/) based on Qt that is very fast, you can zoom and pan 
even complicated plots, it is much faster than matplotlib.

For me, the graphic makes the difference.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Question on ABC classes

2020-10-26 Thread Dieter Maurer
Peter J. Holzer wrote at 2020-10-25 20:48 +0100:
>On 2020-10-22 23:35:21 -0700, Julio Di Egidio wrote:
> ...
>> and the whole lot, indeed why even subclass ABC?

You often have the case that a base class can implement
a lot of functionality based on a few methods defined
by derived classes.

An example is a mapping class (with methods such as keys, values, items,
iteration, subscription, ...). All those methods can be implemented
generically based on "__len__", "__iter__", "__getitem__" and
"__getitem__".

In those cases, you can decorate the base methods with
`abstractmethod`.


Formerly, you had `raise NotImplementedError` in the body of
those methods. If a derived class forgot to implement a required
method, the exception was raised as soon as the method was called.
With `abstractmethod` you see the problem earlier.
-- 
https://mail.python.org/mailman/listinfo/python-list


Regarding the issue I had faced

2020-10-26 Thread Ayush Mishra
Hi

I would to like to say that Python is a very good language with a vast area of 
application and an easy way to start for the beginner. I am also a beginner and 
I am very much comfortable with syntax of Python.

Now coming to my problem. Say for example if I have created a n HTML file and 
want to edit it in Brackets , I will right on the file and select the option “ 
Edit with Bracket” . We also have a similar thing in IDLE too , when we right 
click on .py file we get the option “ Edit with IDLE” comes but I don’t get 
that option on right clicking .py file . One more hint regarding the problem I 
mentioned is that when I select the repair option in  Python Setup window a 
dialog box appears stating “ Ensure you have access to   “ .

I am using Windows 10 Home 64-bit (Specification of my laptop) , I hope it will 
help.
Please contact me on the same email id to help me resolve the issue . I would 
be very much thankful to developer team for the help from your side.

Sent from Mail for Windows 10


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: GUI (tkinter) popularity and job prospects for

2020-10-26 Thread Dietmar Schwertberger

On 23.10.2020 18:52, John Pote wrote:
I've used tkinter and wxPython occasionally in the past for 1 off test 
tasks (and interest). What's the advantage of Qt? 


Qt does support mobile and touch oriented user interfaces. Also, it does 
support GUI programs on microcontrollers now on bare-metal.


Desktop development has long moved out of the focus of the Qt company. 
(This shift dates back to the time when Nokia was the owner.)
Just have a look at their start page and you know the focus. Qt company 
is living from expensive industry licenses. Providing frees solutions to 
the open source community is not the core business.


Qt still supports traditional desktop development in form of Qt Widgets, 
but there's pressure to move to QML. This is more comparable to the 
HTML/CSS/Javascript approach.
Personally I would not want to go that way for desktop applications. The 
traditional single-language approach with API and debugger seems much 
more straightforward and time-saving.


For many types of desktop applications I would just recommend wxPython, 
together with wxGlade as a GUI builder. This will provide a quick start 
and high productivity for many tasks.
That's another point: Qt Designer is recognized as one of the most 
advanced GUI builders, but when you actually want to use it with Python 
it does not really help you much. Using it is too complicated for the 
beginner or casual user and for the advanced user it's easier to avoid 
it completely.


Regards

Dietmar

--
https://mail.python.org/mailman/listinfo/python-list