Python embeding error!!

kiokju kiokju at dreamwiz.com
Wed Jan 18 07:49:48 EST 2006


 I want run Python GUI program on MFC.

 So I coded this

 def start():
	global Tkinter
                from Tkinter import *
 	root = Tk()
 	w = Label(root, text="Hello, world!")
	w.pack()

 but It returns error at

 rc = PyObject_CallObject(func, NULL);

 What is problem?




More information about the Python-list mailing list