usuario = line_conten[1].split(":")[1]
ip = IP
puerto = line_conten[1].split(":")[-1]
fecha = time.strftime("%Y%m%d%H%M%S",
time.localtime(time.time()))
expires = line_conten[3].split(":")[-1]
datosusuarios = [usuario, ip, puerto, fecha, expires]
print(datosusuarios)
listadatos = []
*listadatos = listadatos.append(datosusuarios)*
print(listadatos)
In the marked area is where I have the doubt that command to use to add the list "datosusuarios" within the "listadatos". Currently using the append command leaves the list empty.