回答編集履歴

3

runに修正

2020/12/09 14:07

投稿

kairi003
kairi003

スコア1332

test CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- proc = subprocess.call(["base64", "-d", "movie.txt"], stdout=subprocess.PIPE)
17
+ proc = subprocess.run(["base64", "-d", "movie.txt"], stdout=subprocess.PIPE)
18
18
 
19
19
  Path('decoded_2.mp4').write_bytes(proc.stdout)
20
20
 
@@ -32,6 +32,6 @@
32
32
 
33
33
  with open('decoded_2.mp4', 'wb') as fp:
34
34
 
35
- subprocess.call(["base64", "-d", "movie.txt"], stdout=fp)
35
+ subprocess.run(["base64", "-d", "movie.txt"], stdout=fp)
36
36
 
37
37
  ```

2

誤字修正

2020/12/09 14:07

投稿

kairi003
kairi003

スコア1332

test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  import subprocess
12
12
 
13
- form pathlib import Path
13
+ from pathlib import Path
14
14
 
15
15
 
16
16
 

1

誤字修正

2020/12/09 10:42

投稿

kairi003
kairi003

スコア1332

test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  import subprocess
12
12
 
13
- form path import Path
13
+ form pathlib import Path
14
14
 
15
15
 
16
16