import自己的代码


from Tkinter import *
import notebook

win = Tk() win.title = ('Picklecai notebook' ) win.geography =('400x600') w = Label(win, text = 'Hello,world!') w.pack() win.mainloop()

notebook.printhistory()

能正常运行。