The standard Python module
multiprocessing got introduced in Python 2.6 and makes creating simple client/server applications extremely easy.
Here is an example that shows how to read and write local/remote files. Because it allows accessing arbitrary files it is probably a good idea to not use it exactly like this, but rather to extend, or at least adjust the password.
You can download a package with the following three files py_remote_file-20130730-1437.zip .
Example - Using py_remote_file_client.py in Squish test scripts¶
py_remote_file_client.pymust reside in test suite directory
py_remote_file_server.pymust running on the remote computer (started like this:
Example - Using py_remote_file_client.py without Squish¶
py_remote_file_server.pymust have been started on the remote computer
C:\Users\MyUser\Desktop> python py_remote_file_client.py get C:\ThatFileOverThere.txt .\ThatFile-from_remote_computer.txt