1.tqdm 进度条

from tqdm import tqdm

for i in tqdm(range(10000)):
pass

2.fire 自动创建命令行接口(command line interfaces)

a.单个函数

import fire
def hello():
print("hello world!") if __name__ == '__main__':
fire.Fire()

b.多个函数  python hello.py hello1 "beijing"

#hello.py

import fire
def hello1(place):
print("hello world1! I'm in"+place)
def hello2(name):
print("hello world2!"+name)
if __name__ == '__main__':
fire.Fire()

  

  

  

  

最新文章

  1. 基于DDD的.NET开发框架 - ABP的Entity设计思想
  2. linux下查看某软件是否已安装, ubuntu安装deb包
  3. isa指针
  4. mysql-函数FOUND_ROWS()
  5. 找出程序cpu使用率高的原因
  6. webapp 慎用setInterval、setTimeout
  7. Unity 用C#脚本读取JSON文件数据
  8. effective_c++条款20,用pass-by-reference-to-const替换pass-by-value
  9. 开始学javascript基础
  10. 读书笔记 effective c++ Item 31 把文件之间的编译依赖降到最低
  11. 深入理解javascript函数进阶系列第三篇——函数节流和函数防抖
  12. C# 视频多人脸识别
  13. maven加载本地jar包到repository
  14. mySQL InnoDB 的性能问题讨论
  15. npm安装第三方库找不到“cl.exe”问题
  16. 用鼠标键盘来控制你的Android手机——同屏显示简单教程
  17. xss绕过htmlspecialchars实体编码的姿势
  18. 算法抽象及用Python实现具体算法
  19. DevExpress v17.2新版亮点—Windows 10篇
  20. MyOD课堂实践(5月31日)20155318

热门文章

  1. K2百家讲坛 | 越秀地产:K2为房企数字化转型带来更多可能
  2. python format(格式化)
  3. 类型限定词——const
  4. using Newtonsoft.Json;
  5. 根据图片URL获取图片的尺寸【Swift语言实现】
  6. 深圳奥特迅现金流量——RESSET数据库
  7. Linux的.pid文件
  8. TCPIP学习笔记
  9. JavaScript中的各种宽高总结
  10. Java的命名规范