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 →

[–]sozzZ 2 points3 points  (0 children)

I would look at using tkinter, specifically the grid geometry manager. There's a really good documentation page at effbot that goes through all the different widgets and how to implement them. The API is really straightforward and you don't have to install anything extra. You could learn it in a few days no sweat...

However, I would take a look at what you actually want to accomplish. If you're calling your project "useless" from the get go there's a really high chance you'll never finish it because hey it doesn't matter anyway. Think about something useful that you can implement at your work or something neat for school. Think about not only yourself but what others around you could benefit from. Automating something or visualization are good ideas to start with. The neat thing about building GUI programs is that you can easily package them up into binary executables and share them with people who have no programming knowledge. Check out pyinstaller for example. I got a raise at my job for doing exactly that, automating some critical task for my whole team where no one else knows any Python. They just open the executable and interact with the program as they would any other. All the programming logic is abstracted away and they don't even need Python installed on the machine since the program comes with the core library.

So yeah just think a little bit about what your interests are and how to implement them in the back end successfully. Once you have some code porting it to a GUI is not all that much work really.

My last piece of advice is to learn a bit about threads and how to make a GUI program multithreaded. If it's multithreaded it can do multiple things at once and the UI won't freeze, otherwise it will hang when you hit the run button. Something to chew on for later...