简体   繁体   中英

How to access a file on a remote smb drive using Jupyter Notebook?

So, I'm trying to do some data analysis using Python/Jupyter Notebook. The dataset lives on a remote smb shared drive. How can I read in the data without downloading it to my local machine?

I tried changing the working directory by running:

os.chdir('smb://insititution.org/FOLDERPATH')

and I get a "No such file or directory" error.

I would appreciate any help anyone can offer!

use below argument while starting jupyter notebook

--NotebookApp.notebook_dir="\\IP_ADDRESS_FOR_SMB_HOST\share"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM