Using Python, how might one read a file's path from a remote server?
This is a bit more clear to me on my local PC.
use the os.path module to manipulate path string (you need to import os)

the current directory is os.path.abspath(os.curdir)
join 2 parts of a path with os.path.join(dirname, filename): this will take care of inserting the right path separator ('\' or '/', depending on the operating system) for building the path
Python - how to read path file/folder from server