I am trying to access a local drive (Windows computer) from the remote desktop (also Windows). During which I need to check whether a certain folder/ file exist. However os.path.isfile()
and os.path.isdir()
only works on local file.
How can I check whether a certain folder/ file exists on a local drive on remote desktop by python?