作者:Admin 分类:Python 浏览: 2187 评论: 0
#!/usr/bin/python# -*- coding: UTF-8 -*- import pandas as pdimport timeimport osfrom ftplib import FTP#下载文件def downfile(host,port,username,password,localpath,remotepath,filename): ftp = FTP() ftp.connect(host,port)