Search code examples
python-3.xwindowsremote-server

How can I call a file in a remote server through python3?


For example I have a .py script on my computer (Windows Server 2017), and I want to use it to control a remote server (Windows Server 2017) to do the following steps:

  1. Open MS Word(which has already been installed) on the remote server
  2. Use the word to open a word doc which is located on the remote server too.

Anyone has any brilliant idea? Thanks a lot!


Solution

  • Problem solved here: How to connect to a remote Windows machine to execute commands using python?