QDateEntry: setting current date as mimimum
me at the-compiler.org
Wed May 5 19:21:51 BST 2021
On Wed, May 05, 2021 at 08:07:13PM +0200, Maurizio Berti wrote:
> QDateEntry? QLable? Positional error exceptions?
> Sorry if I'm being a bit blunt here, but I doubt this is a code reviewing
> mailing list.
> I'm aware there's no strict rule about what could or couldn't be posted
> here, but, really, we should at least check our code before sending it,
> *run it* and understand its possible errors. Despite the fact that there's
> no QDateEntry (QDateEdit?) or QLable (QLabel!) object in Qt, that exception
> is clearly a basic python syntax issue, and I don't really think we should
> even discuss them here.
Clearly Rich did run the code and show the error. Since it is a
SyntaxError, he probably wasn't aware of the other issues with his code
at this point.
He did try to understand the error - he mentioned that he didn't
understand what it means in this context. This is a real problem
(*especially* with syntax errors), and something which is getting
significantly improved with Python 3.10 (though with no changes in this
Since he was stuck, and believed the error to be PyQt-specific, he asked
here. It turned out not to be PyQt-specific, but if you have no idea
what an error means exactly, it's easy to get lost.
To be blunt as well: The original post will (hopefully) have a positive
outcome (someone learned something new, and maybe someone else will at
some point make the same mistake and find the thread!).
Your reply, on the other hand, really isn't helpful at all...
Please show some compassion towards people new to
programming, or to Python/PyQt.
me at the-compiler.org | https://www.qutebrowser.org
https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the PyQt