回答編集履歴
1
追記
test
CHANGED
@@ -63,3 +63,23 @@
|
|
63
63
|
"""
|
64
64
|
|
65
65
|
```
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
# 追記
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
興味深いことにpypyからCPythonという逆方向には`multiprocessing`経由で処理を委任できるみたいです。
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
```
|
78
|
+
|
79
|
+
if __name__ == "__main__":
|
80
|
+
|
81
|
+
multiprocessing.set_executable("c:\program files\python36\python.exe")
|
82
|
+
|
83
|
+
multiprocessing.Process(target=task).start() # pypyとは別プロセスのCPython 3.6環境でtask()を実行
|
84
|
+
|
85
|
+
```
|