Follow

PythonのExcept文 

except文で処理する例外って、大抵予期できるので「例外」じゃないんですよね。
FileNotFoundErrorが生じうるようなコードでは
if(os.path.exists(myfile)):
とかでチェックするべきなんですよね

· · SubwayTooter · 0 · 0 · 0
Sign in to participate in the conversation
Vocalodon

ボーカロイド好きが集うMastodonインスタンス、通称「ボカロ丼(ボカロドン)」です。 ** This server is for "Vocaloid" lovers. If you are not, please select other server. **

image/svg+xml