I raised the error question 32830 on this issue, and the consensus (reached by the developers of the Python kernel) is that although from tkinter import * violates PEP 8, this is a reasonable exception because tkinter "provides a huge number of names (mostly constants like RIGHT or VERTICAL), which is convenient to use without a prefix. " In addition, PEP 8 states: “Do not break backward compatibility to match this PEP!” and since tkinter is often imported this way at present, this feeling applies here.
source share