2 Antworten
+ 9
Thank You For The Help.
But this can't be run in Sololearn Playground as we can't access the packages like Tkinter, wxWidgets, etc here.
How to find the number of rows and columns while using Sololearn Code Playground ???
+ 4
Mac OS:
import AppKit [(screen.frame().size.width, screen.frame().size.height) for screen in AppKit.NSScreen.screens()]
Windows 8+: (64 Bit req. changes)
from win32api import GetSystemMetrics print("Width =", GetSystemMetrics(0)) print("Height =", GetSystemMetrics(1))