B cJ ݇@s>dZddlZddlmZmZmZmZdZdZddZedS)zN Remote python client. Execute Python commands remotely and send output back. N)socketAF_INET SOCK_STREAMSHUT_WRiicCsttjdkr tdtdtjd}t}|d}|dkr`t||dd}|d|}dtjdd}t t t }| ||f| ||td}x|t}|sP||7}qWt|dd |dS) Nzusage: rpython host command:r )end)lensysargvprintexitPORTfindintjoinrrrZconnectsendencodeZshutdownrZrecvBUFSIZEdecodeclose)ZhostZportiZcommandsZreplydatar7/opt/alt/python37/lib64/python3.7/Tools/demo/rpython.pymains,        r ) __doc__rrrrrrrr rrrrs