MCPcopy
hub / github.com/skywind3000/ECDICT / next

Method next

stardict.py:1228–1234  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1226 self.timestamp = time.time()
1227 self.counter = {}
1228 def next (self):
1229 if self.total:
1230 self.count += 1
1231 pc = self.count * 100 / self.total
1232 if pc != self.percent:
1233 self.percent = pc
1234 print('progress: %d%%'%pc)
1235 def inc (self, name):
1236 if name not in self.counter:
1237 self.counter[name] = 1

Callers 9

compile_stardictMethod · 0.80
compile_mdxMethod · 0.80
compile_cssMethod · 0.80
compile_mapMethod · 0.80
compile_mdxMethod · 0.80
export_stardictMethod · 0.80
export_mdictMethod · 0.80
tab_txt_importMethod · 0.80
convert_dictFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected