Earlier quoted context omitted.
AFAIK a library that uses LGPL3 modules without any modification is allowed to be licensed differently, provided that the final product allows the LGPL3 modules to be recompiled and/or swapped for others and that the source for the LGPL3 modules is provided.
Thanks. I'm still confused though. If I create an application using Guietta, do I have to follow MIT or LGPL3 terms?
Guietta – Python module to create simple GUIs
41–50 of 166 posts
Re: Guietta – Python module to create simple GUIs
#42Somehow, it feels like, CS education is getting both easier as new low friction tools are being made available each day and getting harder because the sheer complexity and number of things to know to really understand anything at all the levels of abstractions is getting more complicated.
Re: Guietta – Python module to create simple GUIs
#43Every time I see something like this I think back to the glorious days of Borland Delphi with it's beautiful drag&drop GUI builder.
Ah I came to comment this. Loved the GUI builder in Delphi, it's where I cut my teeth learning to program as a teenager. Since then, I've seen .NET within Visual Studio almost get to the same quality we had with Delphi in 1995, but still way off. Now that everything's a web app wrapped in something like Electron, it should be so much easier to have tooling like this, but yet we're all still building hugely complicate…
Programming is manipulating cryptic colorful text. That sadly seems to be the definition we are stuck with. You start to get into anything that involves drag & drop, you are inviting other programmers to assume you are not good enough with cryptic text.
Its just a stupid psychological thing. And I think it holds back software engineering.
Re: Guietta – Python module to create simple GUIs
#44Earlier quoted context omitted.
You don't even have to go back that far. XAML and C# developed with Visual Studio and Expression Blend is a fantastic experience, it almost makes me wish Silverlight was still around.
It's much heavier than what we had with Delphi/VB, it feels like wading through treacle in comparison.
Same applies to C++ Builder, which MS still hasn't been able to match. C++/CX was the closest we got on VS, but then politics killed it.
Re: Guietta – Python module to create simple GUIs
#45Re: Guietta – Python module to create simple GUIs
#46Nice work. I have one out of curiosity question. In the example, there is the button called 'Calculate' and then action define in "gui.Calculate" block. But what if the name of the button was 'Calculate it'(with the space between words)? The action header would be gui.'Calculate it'?
It is also possible to set a custom name using a tuple syntax (widget, 'name'). Like this: (['Calculate'], 'myname')
Re: Guietta – Python module to create simple GUIs
#47sweet! will this run on mac? edit: tried: "UnboundLocalError: local variable 'loader' referenced before assignment Fatal Python error: could not initialize part 2 ... 'python script.py' terminated by signal SIGABRT (Abort)" :(
Re: Guietta – Python module to create simple GUIs
#48I love how the imports in https://github.com/alfiopuglisi/guietta/blob/master/guietta/... are ordered from shortest to longest. Makes them look like stairs! Very aesthetically pleasing :). Might take that up in my next project.
Some of Python linters enforce such style. If you enable pylint or black I think they do that by default.
Especially the alphabetic ordering is important in my view. Makes parsing/reading and spotting duplicates much easier. It is also PEP8 style [0].
For all these reasons, I think the pyramid style is awful in comparison.
Re: Guietta – Python module to create simple GUIs
#49Every time I see something like this I think back to the glorious days of Borland Delphi with it's beautiful drag&drop GUI builder.
Designer works great for GUIs with complex layouts. Having an intermediate XML representation puts a lot of distance between your code and your GUI. Sometimes this is good, other times is not. I rant a bit about this at the start of the introduction: https://guietta.readthedocs.io/en/latest/intro.html
Re: Guietta – Python module to create simple GUIs
#50This looks great. I have previously written a small GUI application with Qt where it's just a slider and a text label, and when the value of the slider is changed, a command is ran and the label updated. In quickly hacked together Python/Qt, it's 71 lines. It seems like I can cut that down quite a lot by using this. I will have to test it. Thanks!