What's the catch? No one seems to actually use tkinter beyond beginner CS courses. Is being ugly the only reason people use Qt or Electron instead?
Ape Out Shirt $21.68 |
Tip Your Landlord Shirt $21.68 |
Ape Out Shirt $21.68 |
What's the catch? No one seems to actually use tkinter beyond beginner CS courses. Is being ugly the only reason people use Qt or Electron instead?
Ape Out Shirt $21.68 |
Tip Your Landlord Shirt $21.68 |
Ape Out Shirt $21.68 |
Who the frick writes desktop GUI applications in python
the PyQt/PySide people seem to be churning out a lot of shit, same for the data science people who want something a step above their jupyter notebooks
Ugly, really. Ugly programs don't sell, nobody wants to use them. The widgets are clunky and hard to use and theme properly.
I do. One of the consulting gig niches I've found for myself is converting excel spreadsheets to custom python programs for boomer companies. Last month I finished a cattle vaccination and medical checkup program, got paid a cool $3k for maybe 4 days of work.
>converting excel spreadsheets to custom python programs for boomer companies.
How do you do that? I work with excel heavily and that'd be very nice to learn, I have some minor Python experience.
I get the spreadsheet with some sample data, usually the formulas or the VBScript source code, and then make a new program around them. There's no easy method.
I see, probably not quite applicable for what I do then since there's no standard format. Still interesting.
So what do you use? Im thinking of making a gui for a midi sequencer Im working on, something like pic rel but with more minimalistic ui design. Prefer not to use qt if I can help it
>ugly
https://ttkbootstrap.readthedocs.io/en/latest/
why not
I think the issue is that it doesn't have many advanced widgets, you have to implement a lot of stuff yourself. Which has been enough for the project I'm working on. QT might be a nicer future-proof skill but then again you have to evade paying the license if you go commercial etc. There's also wxWidgets which seems to have more widgets but I heard is less stable than tkinter.
the licensing mess kept me off from Qt as well. I really like Qt Creator tho, it's a really polished experience that I've never found elsewhere
>windows
I'm a debian chad, but this was what I found off google.
pyside6 is kinda heavy
I agree with you that's why I looked into Tkinter in the first place since it's already bundled in the Python standard library. Which is why I'm surprised that no one seems to use it. I understand why no one uses ncurses that python bundles since TUI aren't popular but the tkinter stuff looked like a good deal to me
It just werks, but it's really basic. UI is done with javascript these days, that's just how the work is done. That is why people use Electron, it's just massively more flexible and modern than tkinter. I have made some tools with tkinter, one of them even had other people using it for a while.
>Electron
Yep not using it. Way too heavy to be of value
Custom tkinter is ok for throwing together a very basic UI, where you don't need multi-purpose windows or the like.
https://github.com/TomSchimansky/CustomTkinter
I use Tkinter with Matplotlib.
what is the loicense problem withqt exactly? not for commerical apps?
I'm not seeing direct fees on license, they sell development packages
>making a desktop app in 2024
What app do you need make that doesn't already exist? Honest question man
why wouldn't you use flutter the obviously superior UI choice
>using shitware made by google
do americans really?
Not an argument.
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
class MyWindow(Gtk.Window):
def __init__(self):
super().__init__(title="Hello World")
self.button = Gtk.Button(label="Click Here")
self.button.connect("clicked", self.on_button_clicked)
self.add(self.button)
def on_button_clicked(self, widget):
print("Hello World")
win = MyWindow()
win.connect("destroy", Gtk.main_quit)
win.show_all()
Gtk.main()
https://python-gtk-3-tutorial.readthedocs.io/en/latest/introduction.html
Works OOTB on LMDE 6.
Poor fractional scaling support (unless something had changed the last 2 years) and you've to reimplement tons of shit yourself cause is a very barebones toolkit.