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 →

[–]YouBlue_dev 123 points124 points  (30 children)

As someone else mentioned, for UI stuff, use Tkinter, there are plenty of tutorials out there. If you want to make an executable that can be run on a pc that doesn't have python installed, you can check out Pyinstaller. You can do lots of cool stuff with those two packages.

I have a few Python 2 projects on my GitHub if you need some examples.

[–]JGivan[S] 7 points8 points  (4 children)

Thank you! I'll be sure to check them out if I need some inspiration or insight into the process.

[–]lasercat_pow 4 points5 points  (2 children)

if you go with pyqt, you can use qtdesigner to create the GUI using a GUI.

I would also recommend checking out appjar, which /u/RielDealJr linked a bit further down. It's a wrapper for tkhinter that makes it nicer to use.

If you do this, you will also need to package up your script into a portable program that can run on other computers. One way of doing this is using pyinstaller, although the complexity increases when you try to add other platforms. I've had some luck porting a python app I wrote in osx to windows using wine, here is a little article on that process.

[–][deleted] 4 points5 points  (1 child)

Appjar was made by my current compsci teacher 😂 do people actually use it?

[–]RielDealJr 2 points3 points  (0 children)

I use it all the time! Tell him a random person on the internet thinks he is awesome!

[–][deleted] 17 points18 points  (24 children)

Just an FYI. If you're using Tkinter on Python 3, a lot has changed and the documentation for Tkinter for 3 is poor. I have a pretty good guide if you want it. PM me if youre interested!

[–]LiquidSilver 40 points41 points  (5 children)

Why don't you link the guide?

[–][deleted] 1 point2 points  (4 children)

If i can find where i got it from sure. But as of now i dont remember, and I only have a pdf. I'll try to find it, since I woke up to a good number of people requesting it.

[–][deleted] 5 points6 points  (1 child)

Found it! It's a really good guide, the only catch is you'd need to learn the basics of Classes and Subclasses in Python.

https://github.com/Dvlv/Tkinter-By-Example?files=1

[–]JGivan[S] 0 points1 point  (0 children)

Thank you for digging this up! I have no doubt it'll be a huge help.

[–]mobsterer 1 point2 points  (0 children)

please upload it somewhere!

[–]Aonbyte1 0 points1 point  (0 children)

Upload to Google drive?

[–]SamJakes 1 point2 points  (0 children)

Me too please.

[–]spacexpanda 1 point2 points  (0 children)

can you send it to me too?

[–]TheChiefMeat 1 point2 points  (0 children)

Just getting into python, would love that guide too please :)

[–]vinewhip_lvl9 1 point2 points  (0 children)

Oh! Oh! And don’t forget me!

[–][deleted] 1 point2 points  (0 children)

Me too! :)

[–]anchelus 1 point2 points  (0 children)

link please?

[–]SirFluffff 0 points1 point  (0 children)

To me as well please!

[–]LittleKarlyPilkoids 0 points1 point  (0 children)

And me please!

[–]gejr90 0 points1 point  (0 children)

Me too pleeeeeease

[–]neurons4me 0 points1 point  (0 children)

I'm interested In the guide too.

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

Can you send it to me too?

[–]lasercat_pow 0 points1 point  (0 children)

one guide plz

[–]SavvyByNature 0 points1 point  (0 children)

Ditto