2 ms·
Python - I had side project, an Excel "database" that needed some graphs done in a much faster manner. I had been out of programming full time for about 20 year
by mikewarot 5y ago
Python - I had side project, an Excel "database" that needed some graphs done in a much faster manner. I had been out of programming full time for about 20 years, and figured that Python with GUI builder would be the way to go.
I had foolishly assumed that the tools had gotten better in the past 20 years. The last major programming I did was in Delphi under Windows XP, etc.
I was dead wrong. I burned through two different GUI Builders each ending up with 20minute to 1 hour cycle times every time I changed a major GUI element. The base problem is that these tools don't allow two-way changes, they only create a python file to then use. I ended up creating a set of files that allowed me to decouple the generated python from my code, and it mostly worked.
It was when I needed to change the type of control from a list to a combobox that everything broke. I had taken far too much of my free time learning and getting this to work. I tried out Lazarus (because Delphi is out of my price range), and it was good enough.
I wasted the code. (In the same sense you waste a via of medicine once you've drawn the dose for the patient)
In less than a week, I was back up and running, and changes were quick and easy to make. Python is good for some things, but a GUI isn't one of them. Charts that took 5 minutes in Excel now take a few seconds in Lazarus.
- PinkPigeon 5y agohttps://kivy.org/#home https://kivy.org/#home is the closest I ever got to working with UI in Python and not hating it. But it still appears to be an unsolved problem.