You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very basic, it will grab one screen shot by monitor or a screen shot of all monitors and save it to a PNG file, Python 2.6/3.5 compatible & PEP8 compliant.
6
6
It could be easily embedded into games and other softwares which require fast and plateforme optimized methods to grab screenshots.
@@ -10,6 +10,25 @@ MSS stands for Multiple ScreenShots.
10
10
It's under zlib licence.
11
11
12
12
13
+
API change
14
+
==========
15
+
16
+
**Warning**: from the version 2.0.0 for specific system import, now you do as::
17
+
18
+
# MacOS X
19
+
from mss.darwin import MSSMac as mss
20
+
21
+
# GNU/Linux
22
+
from mss.linux import MSSLinux as mss
23
+
24
+
# Microsoft Windows
25
+
from mss.windows import MSSWindows as mss
26
+
27
+
The second change is the split into several files. Each OS implementation is into a `platform.system()`.py. For GNU/Linux, you will find the `MSSLinux` class into the file "mss/linux.py".
28
+
29
+
This make life easier for contributors and reviewers.
30
+
31
+
13
32
Installation
14
33
============
15
34
@@ -23,13 +42,13 @@ Support
23
42
========= ========= ======== =======
24
43
Python GNU/linux MacOS X Windows
25
44
========= ========= ======== =======
26
-
3.5.0a3 True TrueTrue
27
-
**3.4.3** **True****True** **True**
45
+
**3.5.1** **True****True** **True**
46
+
3.4.3True TrueTrue
28
47
3.3.6 True True True
29
48
3.2.6 True True True
30
49
3.1.5 True True True
31
50
3.0.1 True True True
32
-
**2.7.9** **True** **True** **True**
51
+
**2.7.11** **True** **True** **True**
33
52
2.6.9 True True True
34
53
========= ========= ======== =======
35
54
@@ -43,7 +62,7 @@ Testing
43
62
44
63
You can try the MSS module directly from the console::
45
64
46
-
python mss.py
65
+
python tests.py
47
66
48
67
49
68
Instance the good class
@@ -56,7 +75,9 @@ So MSS can be used as simply as::
0 commit comments