I am trying to connect share folder using python but not able to connect
bellow is my code:
bellow is my code:
from pathlib import Path data_folder = Path("//xx.xx.xx.xx//d$//ftpAutoLogin//jflow-data-files-poc") file_to_open = data_folder / "mscreen_gxml20200522-143205-512.xml" f = open(file_to_open) print(f.read())
Error: Traceback (most recent call last):
File "/Users/sam1546/Documents/jflow_ebm_data_extraction/ebm_extractor_sharepath.py", line 19, in <module>
f = open(file_to_open)
FileNotFoundError: [Errno 2] No such file or directory: '//xx.xx.xx.xx/d$/ftpAutoLogin/jflow-data-files- poc/mscreen_gxml20200522-143205-512.xml'
Process finished with exit code 1