https://rpyc.readthedocs.io/en/latest/
- install
pip install rpyc
- start a classic server using
python c:\Users\zhyang\AppData\Local\Programs\Python\Python37-32\Scripts\rpyc_classic.py
- connect client
//cmd python
import rpyc
conn = rpyc.classic.connect("localhost")
rsys = conn.modules.sys
use conn.modules.sys
to access the sys
module the server