()
| 154 | |
| 155 | |
| 156 | def printProgress(): |
| 157 | msg = '%s found | %s remaining | %s scanned in %.2f seconds' % ( |
| 158 | th.found_count, th.queue.qsize(), th.scan_count, time.time() - th.start_time) |
| 159 | out = '\r' + ' ' * (th.console_width - len(msg)) + msg |
| 160 | dataToStdout(out) |
| 161 | |
| 162 | |
| 163 | def output2file(msg): |