A cross platform and easy way to do this is by using TKinter that comes with nearly all the python versions so you don't have to install anything:
import tkinter
root = tkinter.Tk()
root.withdraw()
WIDTH, HEIGHT = root.winfo_screenwidth(), root.winfo_screenheight()