I am building a board game like chess using TKINTER library of python. But I am not sure whether my application will be integrable with Xblock.
So I tried to run simple program of Desktop application in XBlock
from Tkinter import *
root = Tk()
var = StringVar()
label = Message( root, textvariable=var, relief=RAISED )
var.set("Hey!? How are you doing?")
label.pack()
root.mainloop()
Again I wrote this code in my xblock python file corresponding to some handler but it is not working and I am not getting where to use it in Xblock so It gives output on student view so that student can play this game and teacher would be able to evaluate this. I am not able to run this in django application also.
Suggest something so that I can achieve this???