Commit 55618efa authored by Guido van Rossum's avatar Guido van Rossum

use $DISPLAY

parent c66394d0
# This is about all it requires to write a wish shell in Python!
import tkinter
import os
tk = tkinter.create(':0', 'wish', 'Tk', 1)
tk = tkinter.create(os.environ['DISPLAY'], 'wish', 'Tk', 1)
tk.call('update')
cmd = ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment