mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 13:34:40 +00:00
NEw util
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
FILEPTH = r"C:\Database\chunks\4_chunk.txt"
|
||||||
|
|
||||||
|
with open(FILEPTH, "r", encoding="utf-8") as file:
|
||||||
|
tab = file.readlines()
|
||||||
|
print(len(tab))
|
||||||
|
|
||||||
|
#1842295
|
||||||
@@ -23,6 +23,7 @@ from queue import Empty, Queue
|
|||||||
from threading import Thread
|
from threading import Thread
|
||||||
import time
|
import time
|
||||||
q = Queue()
|
q = Queue()
|
||||||
|
#TODO: Count number of lines in files and print to approximate on which part of the file search is
|
||||||
|
|
||||||
# DATA FOR TEST ONLY
|
# DATA FOR TEST ONLY
|
||||||
# MAXTHREADS = 5
|
# MAXTHREADS = 5
|
||||||
|
|||||||
Reference in New Issue
Block a user