ya2
·
news
·
projects
·
code
·
about
Ya2
/
projects
/
pmachines.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
gettext: --no-location
[pmachines.git]
/
ya2
/
build
/
screenshots.py
1
from
os
import
system
2
from
multiprocessing
import
Pool
3
4
5
def
do_screenshot
(
cls
):
6
system
(
'python main.py --screenshot '
+
cls
.__
name
__
)
7
8
9
def
bld_screenshots
(
scene_classes
):
10
with
Pool
()
as
p
:
11
p
.
map
(
do_screenshot
,
scene_classes
)