Jun-04-2019, 07:56 AM
You don't want a remote control, you want to access remote files.
Paramiko is used for ssh and ssh is used on linux servers.
Python can only access on mounted file systems. You can use the net command
to mount your samba share on a drive letter and with Python you can
access this path. Newer Python Versions will be a little bit faster
on remote file access, because they use os.scandir in os.walk.
os.scandir does not request all attributes of the file,
which increases the search speed.
https://www.python.org/dev/peps/pep-0471/#os-walk
Paramiko is used for ssh and ssh is used on linux servers.
Python can only access on mounted file systems. You can use the net command
to mount your samba share on a drive letter and with Python you can
access this path. Newer Python Versions will be a little bit faster
on remote file access, because they use os.scandir in os.walk.
os.scandir does not request all attributes of the file,
which increases the search speed.
https://www.python.org/dev/peps/pep-0471/#os-walk
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!