2
Contributors
1
Reply
2
Views
12 Years
Discussion Span
Last Post by bumsfeld
0

Try this short Tkinter code, only tested it on Windows XP:

from Tkinter import *

root = Tk()

sw = root.winfo_screenwidth()
sh = root.winfo_screenheight()

# test
print "screen width  =", sw
print "screen height =", sh 

# set to full screen use this:
root.geometry("%dx%d+0+0" % (sw, sh))

# more code here

root.mainloop()
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.