A long time ago I "wrote a web browser". Those there are some very heavy quotes. You may imagine me doing air quotes while I write it, maybe?
That's because I didn't really, what I actually did was write UI around Qt's webkit-based widget. It was a fun project, specially because I did it with the absurd constraint of staying below 128 lines of code.
And then I did not touch if for six years. But yesterday I did.
commit0b29b060ab9962a32e671551b0f035764cbeffaaAuthor:RobertoAlsina<ralsina@medallia.com>Date:TueOct3012:32:432018-0300InitialPySide2portcommit831c30d2c7e6b6b2a0a4d5d362ee7bc36493b975Author:roberto.alsina@gmail.com<roberto.alsina@gmail.com@1bbba601-83ea-880f-26a2-52609c2bd284>Date:FriJun115:24:462012+0000nicer,smallermargins
Six years is a long time. So, nowadays:
- I prefer my code to be formatted better
- Python 3 is the thing
- PySide is official, so I would recommend using it instead of PyQt
- Qt is now on version 5 instead of 4
So, with those new constraints in mind, I ported DeVicenzo to the latest everything, formatted the code properly using black, and expanded by line limit to a generous 256.
And Here it is ... it's not realy useful but it is an example of how expressive the Python/Qt combination can be, even while being an absurdly bad example nobody should follow (Oh, the lambdas!)
