Is it possible to get screen resolution in python from SL Code Playground? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it possible to get screen resolution in python from SL Code Playground?

Is it possible to get screen resolution in python from SL Code Playground?

24th Nov 2019, 10:07 AM
Satyam
1 Answer
+ 2
You can get screen resolution in Python by simply running some Linux command through python using its os module. For ex: os.system('xdpyinfo | grep "dimensions" ') But unfortunately no, You can't get screen resolution here in SL!
25th Nov 2019, 3:10 PM
Шащи Ранжан
Шащи Ранжан - avatar