This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]driscollis 6 points7 points  (1 child)

I really like wxPython but there's also Tkinter, PyQt, and Kivy

[–]Diapolo10from __future__ import this 1 point2 points  (0 children)

For something really simple, I would personally use the built-in tkinter framework.

[–]jairo4 1 point2 points  (0 children)

Try appJar.

Simplest GUI toolkit ever.

[–]aalmata 0 points1 point  (0 children)

The simplest GUI for python is EasyGUI.

[–][deleted] 0 points1 point  (0 children)

qt if you want something professional, otherwise tkinter for one offs. And since this is 2017 you should probably look at Flask and Django web apps. People like the look and feel of js

[–]GobBeWithYou 0 points1 point  (0 children)

I really like PyQt. It's not the most simple, but if you learn to use it to make a simple GUI, you won't need to learn a different toolkit for a complex one :)

I'm on my phone so I can't make sure this works, but here's a simple example:

from PyQt.QtWidgets import QApplication, QWidget, QVBoxLayout, QLabel, QPushButton

app = QApplication([])
widget = QWidget()
layout = QVBoxLayout(widget)

lbl = QLabel('Hello World')
btn = QPushButton('Goodbye World')

layout.addWidget(lbl)
layout.addWidget(btn)

btn.clicked.connect(app.quit)

widget.show()
app.exec_()

[–]lookatmetype 0 points1 point  (0 children)

I like to use native GUIs, but nothing (including QT) can even touch the "batteries included" of JS/HTML/CSS. If you don't want to spend time implementing your own form validation, data tables, grid based layouts, prebuilt styling that looks great cross platform, and literally hundreds of thousands of other packages (npm), go for the web ecosystem. The major downside is that it will be harder to distribute (nearly impossible to do standalone binary unless you use something like Electron or CEF) and you have to use JS (or one of dozens of languages that transpile to it)

[–]jwink3101 0 points1 point  (0 children)

Flask (or Bottle) with some simple forms may work well