Python program on gopigo

Traceback (most recent call last):
File “rmtest.py”, line 10, in <module>
command=tk.Tk()
File “/usr/lib/python2.7/lib-tk/Tkinter.py”, line 1813, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable

If I use my own image, I run python, I can execute command=tk.Tk(), if I use your image, it will give an error. And if I modified my image to your image(option 3 of SD card ), it will still give this error. What is happened?
Looking forward your answer

Which file is this? Is this one of our example files?