#!/usr/bin/env python # *-# -*- coding: utf-8 -*- import EasyDialogs total = 100 bar = EasyDialogs.ProgressBar("Test Bar",total,"Working...") for i in range(total): bar.label("%d / %d" % (bar.curval, total)) bar.inc() del bar
牌語備忘録 -pygo
#!/usr/bin/env python # *-# -*- coding: utf-8 -*- import EasyDialogs total = 100 bar = EasyDialogs.ProgressBar("Test Bar",total,"Working...") for i in range(total): bar.label("%d / %d" % (bar.curval, total)) bar.inc() del bar