falta filtrar por fecha y ampliaciones
This commit is contained in:
@@ -3,9 +3,10 @@ from normalizacion import *
|
||||
|
||||
def filtrar_telefono(fichero, tel):
|
||||
f = open(fichero, "r", encoding="utf-8")
|
||||
tel_n = normalizar_telefono(tel)
|
||||
for i in f.readlines():
|
||||
telefono = i.split(";")[0]
|
||||
if telefono.strip() == tel:
|
||||
telefono = normalizar_telefono(i.split(";")[0])
|
||||
if telefono.strip() == tel_n:
|
||||
print(i)
|
||||
else:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user