Fix os.join() => os.path.join()

main
Aurélien Geron 2019-10-12 18:05:41 +09:30
parent 2913a17508
commit d8971f1767
1 changed files with 2 additions and 2 deletions

View File

@ -2511,7 +2511,7 @@
"source": [
"import PIL\n",
"\n",
"image_path = os.join(\"images\", \"rl\", \"breakout.gif\")\n",
"image_path = os.path.join(\"images\", \"rl\", \"breakout.gif\")\n",
"frame_images = [PIL.Image.fromarray(frame) for frame in frames[:150]]\n",
"frame_images[0].save(image_path, format='GIF',\n",
" append_images=frame_images[1:],\n",
@ -2752,7 +2752,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.8"
"version": "3.7.4"
}
},
"nbformat": 4,