How can I suppress default "Python" menu in MacOS/tkinter

Viewed 136

I am executing the following code with python 3.6 on MacOS 10.15.4. I expected a blank menu bar, or perhaps just the Apple logo menu. But I get the Apple logo plus a "Python" menu with some odd behavior (e.g. "About Python" brings up an "about" page for Tcl/Tk). Why is this showing up and how can I suppress it?

Thanks

import tkinter as tk

root = tk.Tk()
mb = tk.Menu(root)
root.config(menu=mb)
root.mainloop()
0 Answers
Related