[PyQt] Doubt

tanya tanyaradzwa tanyatanyaradzwa460 at gmail.com
Fri Oct 4 19:28:43 BST 2019


Hi Kyle,

Thank you for the opportunity. I will do just that. I am very grateful.

On Oct 4, 2019 17:51, "Dennis Jensen" <djensen at pgcontrols.com> wrote:

> Tanya shoot me a friend request on Discord at DenniO#8137 and I can get
> you an invite to a Free Python-Pyqt classroom-like tutoring/mentoring
> message server where we help you learn to fish (code in python pyqt) but
> bring your thinking cap because we would rather not give a fish (answer)
> but instead help you understand the aspects of coding so that you can
> answer your question yourself :) -- okay we do help with code templates and
> snippets but we do not write your assignment for you.
> On 10/4/2019 1:50 AM, tanya tanyaradzwa wrote:
>
> Hi All,
>
> I am struggling with a school assignment. I have researched all places
> online, but l am failing to bring it all together. Please assist me.
>
> Question:
>
> Create an application using PyQt. The user is prompted for the name of an
> animal rescue service. This must be displayed in the UI in capital letters.
> The user is then required to enter a character (letter). This must also be
> displayed on the UI in capital letters. The application
> must read the name of the animal rescue service as well as the character
> and then count the number of occurrences of the character in the animal
> rescue service name. The count must be displayed.
>
> Also required:
>
> Error message for incorrect input from user (e.g. no name of animal rescue
> service).
> Error message of character not found or the character is blank!
>
> May you please assist. Thank you.
>
> Warm regards
>
> Tanya
>
> On Oct 3, 2019 15:33, "Dennis Jensen" <djensen at pgcontrols.com> wrote:
>
>> Seriously you are going to go there?  The Designer creates code that
>> states "do not touch" and it is so garbled that it is nearly impossible to
>> decipher -- so yes it is a proverbial black box -- do not touch and do not
>> bother looking inside to see what its doing because it will not make any
>> sense -- which because some of it does not make any sense because it is not
>> needed.
>>
>> On 10/2/2019 5:17 PM, Kyle Altendorf wrote:
>>
>>> On 2019-10-02 16:01, Dennis Jensen wrote:
>>>
>>> Okay then I am going to agree to disagree because in my many years of
>>>> experience is that any black-box piece of software
>>>>
>>>
>>> open source == black box?
>>>
>>> https://code.qt.io/cgit/qt/qttools.git/tree/src/designer
>>>
>>> I'm also curious where "pyqt gui's are meant to be hand coded" came from.
>>>
>>> There's plenty to complain about about designer.  You should be able to
>>> go into a mode where empty layouts get placeholder widgets in them and
>>> borders get bigger for easier selection and so on.  I haven't tried hard
>>> but I think there could be cleaner diffs of the xml.  But to say that
>>> because at some time there will be some trouble with some uses it should
>>> all be thrown out.  *shrug*
>>>
>>> Cheers,
>>> -kyle
>>>
>> _______________________________________________
>> PyQt mailing list    PyQt at riverbankcomputing.com
>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20191004/c7f609b1/attachment.html>


More information about the PyQt mailing list