摘要:
import socket,struct,json,os DOWNLOAD_DIR=r'D:\python13期\网络编程\文件处理\DOWNLOAD' class FtpClient: def __init__(self,host,port): self.host=host self.port=p 阅读全文
posted @ 2020-01-03 20:23
OBOS
阅读(136)
评论(0)
推荐(0)
摘要:
import socket,os,json,struct SHARE_DIR=r'D:\python13期\网络编程\文件处理\SHARE' class FtpServer: def __init__(self,host,port): self.host=host self.port=port se 阅读全文
posted @ 2020-01-03 20:21
OBOS
阅读(180)
评论(0)
推荐(0)
摘要:
from socket import * import struct,json client=socket(AF_INET,SOCK_STREAM) client.connect(('127.2.2.2',6688)) while True: cmd=input('>>:').strip() if 阅读全文
posted @ 2020-01-03 17:56
OBOS
阅读(133)
评论(0)
推荐(0)
摘要:
from socket import * import subprocess,struct,json server=socket(AF_INET,SOCK_STREAM) server.bind(('127.2.2.2',6688)) server.listen(5) while True: con 阅读全文
posted @ 2020-01-03 17:55
OBOS
阅读(141)
评论(0)
推荐(0)

浙公网安备 33010602011771号