python
mazhen1991
这个作者很懒,什么都没留下…
展开
-
使用python实现http及ftp服务进行数据传输
服务器之间的http数据传输直接使用python内置的http服务:python -m SimpleHTTPServer 8000此时,输入指令的目录就已经开启了http服务,8000为端口(如不指定,默认为8000),如果我们需要在其他机器下垃取该目录下的文件,只需在目标机器运行:wget ip:port/文件名速度杠杆的。开启ftp上传文件安装ftp的py...原创 2018-06-05 13:04:20 · 3001 阅读 · 0 评论 -
tkinter复选框选择后无效
tkinter可以定义复选框进行操作,如:def __init__(self): self.root = Tk() self.status = IntVar() Checkbutton(self.root, variable=self.status, command=self.func).place(x=100, y=30) self.root.mainloop(...原创 2019-09-22 21:49:14 · 806 阅读 · 3 评论