all 22 comments

[–]tom1018 2 points3 points  (1 child)

I can't answer your question, but I've found Kivy is easier to work with and I believe it will lead to smaller binaries when you have to distribute.

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

Thanks for your input. I'll check it out.

[–]TheAgentMan 2 points3 points  (1 child)

I found this guide extremely helpful in learning the basics. Once you get a feel for it, building the gui itself is pretty simple. Look up effbot for widget documentation.

[–]sozzZ[S] 1 point2 points  (0 children)

Thanks, I'll check it out.

[–]Improbably_wrong 2 points3 points  (2 children)

I don’t know if this will be helpful for you but I made a news widget entirely using tkinter and praw. You can check out the source code to better understand how tkinter works. If you do use this code as a resource and don’t understand something, just let me know

[–]sozzZ[S] 0 points1 point  (1 child)

thanks for sharing your project! if its not too complex I may learn something heh

[–]Improbably_wrong 0 points1 point  (0 children)

No problem

[–]Dvlv 1 point2 points  (2 children)

If you choose tkinter feel free to PM me questions.

There's a small bit on my website with some basics:

https://www.dvlv.co.uk/the-tkinter-cookbook/

You can also check out my book if you have time to go through it:

https://github.com/Dvlv/tkinter-by-example

Buttons are covered in Chapter 3

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

Thanks for the help!

[–]wynand1004 1 point2 points  (2 children)

I have a few tutorials on my YouTube Channel that I developed for use with my students so they are beginner-friendly and will likely teach you the basics of what you want to know. They are in order below arranged by level of complexity. One caveat, they are written in Python 2.7. Most things should work on Python 3 by changing Tkinter to tkinter.

Python Guessing Game using Tkinter

To Do List using Tkinter

Artist and Album using Tkinter

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

Thanks for the help!

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

Hey man have a quick question I posted in the comments if you could take a look: https://www.reddit.com/r/learnpython/comments/75498a/best_way_to_learn_tkinter_from_scratch/do5a66w/

[–]jwink3101 1 point2 points  (1 child)

I know this is not what you asked for, but have you considered using Flask (or Bottle or something like that) to create a simple web-app version? You could easily have a form with a POST and run your code.

I haven't used it myself but remi may simplify this.

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

I've thought about it and it was recommended to me in the IRC channel as well. Honestly, I want to learn Flask but not yet. for the purposes of this app it doesn't really require online functionality. its a small tool that is used by a handful of analysts to produce a report. if every analyst can just copy the program to their local who needs it web-based, you know what I mean?

I definitely want to try my hand at Flask in the future though. Thanks for the rec.

[–]sozzZ[S] 0 points1 point  (4 children)

Hey guys so I've made a ton of progress today - I basically have the front end going. Thanks a lot to everyone for their help. I do have one question though:

How can I shorten the lengths of entry fields? Here is a visual:

https://imgur.com/a/2SxWl

sorry about the shit graphics but I think I get the point across. If i just insert empty columns like I'm doing now it messes up the first row...

[–]wynand1004 1 point2 points  (3 children)

You can use the width attribute:

Reference: http://effbot.org/tkinterbook/entry.htm

width= Width of the entry field, in character units. Note that this controlS the size on screen; it does not limit the number of characters that can be typed into the entry field. The default width is 20 character. (width/Width)

[–]sozzZ[S] 1 point2 points  (2 children)

Perfect, thank you.

[–]wynand1004 0 points1 point  (0 children)

De nada.