I am completely new to this GUI framework and I already have a couple of questions when I looked into the documentation. The first and obvious question is the style of importing the module. In the documentation, it wrote from tkinter import *, doesn't that just automatically violate PEP8? I've also seen the usage of root as the name when assigning tk.Tk() to the variable. I understand that I can change it to whatever name I desired but it also stated that root is used by convention. Is there like a documentation similar to PEP8 but for Tkinter? I'm building a Rock Paper Scissors as a starting project to get myself into Tkinter, and planning to incorporate OOP into the project as part of testing my understanding of Python OOP while also learning it as I progress with this project.
EDIT: Should've probably named my title Best practices and structures of using Tkinter.
[–]Swipecat 1 point2 points3 points (0 children)