I see two answers with good qualities, each with a small flaw, so I will give my take on it: Try os.path.exists, and consider os.makedirs...
Try the xlrd library. From what I can see from your comment, something like the snippet below might do the trick. I'm assuming here that...
Installation of pysftp in debian 9 and Ubuntu
We are writing Python code using Vim, and every time we want to run my code, we type this inside Vim
The essential thing to do with an in-depth learning framework is to classify an image with a pre-trained model. This article works out of the box with PyTorch.