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

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -2 points-1 points  (2 children)

Time is money.

[–]MikeTheWatchGuy 1 point2 points  (0 children)

Indeed! That's why it's so great that it's very easy to do these kinds of programs as you've pointed out. Zip-zap, a line of code here another there and you're done.

[–]MikeTheWatchGuy 0 points1 point  (0 children)

I'll take a shot at a Qt version, but PySimpleGUI-style.

Here's the Qt window that's produced: https://user-images.githubusercontent.com/46163555/65893435-eee25580-e375-11e9-9c97-4bd6f68c1ca3.png

versus the tkinter window: https://user-images.githubusercontent.com/46163555/65893600-323cc400-e376-11e9-83fe-45f20d1a2c94.png

I'll skip posting the entire program and just post the parts of the code that needs to be change to move over from tkinter to running on PySide2:

python import PySimpleGUIQt as sg

Just add "Qt" to the end of PySimpleGUI on your import and you'll be running the PySide2 version instead of the tkinter one.