2020-03-30から1日間の記事一覧
Pythonスクリプトを作ってVS Codeで実行しようとすると、同じフォルダにおいてあるはずの”test.jpg”が見つからない、という現象が起きました。 # -*- coding: utf-8 -*- from PIL import Image import os path = os.getcwd() print("Path = "+path) file = "…
Pythonスクリプトを作ってVS Codeで実行しようとすると、同じフォルダにおいてあるはずの”test.jpg”が見つからない、という現象が起きました。 # -*- coding: utf-8 -*- from PIL import Image import os path = os.getcwd() print("Path = "+path) file = "…