MCPcopy Create free account
hub / github.com/ipython/ipython / __init__

Method __init__

examples/IPython Kernel/gui/gui-tk.py:16–21  ·  view source on GitHub ↗
(self, root)

Source from the content-addressed store, hash-verified

14class MyApp:
15
16 def __init__(self, root):
17 frame = Frame(root)
18 frame.pack()
19
20 self.button = Button(frame, text="Hello", command=self.hello_world)
21 self.button.pack(side=LEFT)
22
23 def hello_world(self):
24 print("Hello World!")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected