Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Python FTP lib 下载文件,有没有办法获得当前的下载速度。
如果没有,我可以使用另一个库来为我提供速度信息吗?
retrbinary是什么阻止您提供自己的回调来retrlines计算当前下载速度?您将知道已下载了多少数据,并且可以轻松地进行时间测量。
retrbinary
retrlines