I am sorry..i couldn't explain.
My English is not good..
How to change the desktop resolution via python?
Ex:
-
import os
-
sistem=os.name
-
if sistem=="nt"
-
#Change screen resolution for windows
-
ChangeResolution = 800x600
-
elif sistem=="posix":
-
#Change screen resolution for unix-linux
-
ChangeResolution = 800x600
-
....
-
....
-
else:
-
#Change screen resolution for mac
-
ChangeResolution = 800x600
-
vs..
Thanks..
On Windows:
Do a google search for "Programmatically change display resolution".
Get that package working from the command line.
Then Python will be able to:
- os.system("chscrres 800 600")
Although, I don't think is't a good idea for a program to change the screen resolution.