Es nota que ara fa anys que no em miro l'ecosistema de #Python, com evoluciona tot!!
Pet-проект: игра Дебаггер на Python с графическим интерфейсом на Tkinter
Всем привет! В статье расскажу, как я написал игру Дебаггер на Python и добавил к ней графический интерфейс на Tkinter. Мне хотелось сделать простую игру на IT тематику, поэтому я скопировал игровую механику из игры Сапер и теперь нам нужно отметить все баги на игровом поле или наш код сломается. Статья может быть интересна начинающим разработчикам для изучения чужого опыта и наработки своего или же опытным программистам, которые просто хотят поиграть в игру, а может даже предложить, как еще улучшить архитектуру проекта. Нажми, если не боишься багов!
GUI-приложения с помощью Python-Tkinter
Создание графического интерфейса для приложения может быть проще, чем кажется, особенно если использовать Tkinter — встроенный инструмент Python для разработки GUI. В этой статье мы подробно рассмотрим, как с помощью этого пакета быстро и эффективно создавать простые, но функциональные оконные приложения. Если вам нужно добавить интерфейс в ваш Python-проект или просто поэкспериментировать с созданием GUI, этот материал поможет вам разобраться в основах и понять, как начать работать с Tkinter.
https://habr.com/ru/companies/otus/articles/903526/
#python #tkinter #gui #графический_интерфейс #фронтенд_разработка #визуальные_элементы_интерфейса
Tcl/Tk. SVG-виджеты. Генератор градиентной заливки
После серии статей про svg-виджеты в tcl/tk, меня не оставляло чувство какой-то незавершенности. Всматриваясь в проект svgwidgets, стало понятно, что не хватает утилиты с удобным интерфейсом для генерации градиентной заливки .
https://habr.com/ru/articles/909640/
#svg #tcl #tk #tkinter #python #векторная_графика #виджеты #button #графические_интерфейсы #графические_редакторы
Top Python GUI Frameworks in 2025
https://jobhop.co.uk/blog/411341/top-python-gui-frameworks-in-2025
Explore the top Python GUI frameworks in 2025 that simplify the creation of powerful and interactive desktop applications. From PyQt to Kivy, discover the best tools for building seamless user interfaces with Python.
#Python2025
#PythonGUI
#PythonDevelopment
#GUISoftware
#PyQt
#Tkinter
#Kivy
#PythonFrameworks
#AppDevelopment
#TechTrends2025
#SoftwareDevelopment
#PythonTools
Okay, y'all... running #macOS #ScreenSharing to another headless mini M2 and getting this error when running #Python #Tkinter #TclError code via command line:
_tkinter.TclError: couldn't connect to display ":0"
Ideas? I know it prob has something to do w/the screen sharing app's display not being ID 0, but I don't know how to fix it.
TIA!
So... I wanted to package my Python app using tkinter UI library (it is just good enough for my purpose) as a flatpak. Flatpaks are based on "runtimes" similar to docker base images.
As I did obviously not use any "big" UI framework (Gnome or KDE) and it already provides Python with tkinter, I decided to use the org.freedesktop.Platform as a runtime for my flatpak. The first challenge was to get the dbus-python package to compile, as it requires a dbus binary for compiling it. So I added the freedesktop DBus implementation. I need dbus functionallity, as it allows me to use the "XDG Desktop Portals" to interactively open files when running in the flatpak sandbox. After this, everything worked!
Unfortunately, the application cannot load any proper font, so it falls back to the 90s era fonts compiled statically into Tcl/Tk (which tkinter is based on). After some trial and error, and finding out how add custom fonts to Tk, I disovered that the freedesktop runtime does not ship freedesktop fontconfig. And also I can't add it that easily to the build step, too, as the bundled Tk installation does not link to it anyway…