当前位置: 首页 > 工具软件 > RPyC > 使用案例 >

什么是RPyC

汪阿苏
2023-12-01

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

 类似资料: