Commit 0812a9e2 authored by Gregorio's avatar Gregorio
Browse files

El nombre del fichero debería tomarse de la shell

parent 397587aa
......@@ -6,7 +6,7 @@ import calcoo
import calcoohija
if __name__ == "__main__":
fich = open("prueba.csv","r")
fich = open(sys.argv[1],"r")
lista = fich.readlines()
num_lineas = len(lista)
calc = calcoohija.CalculadoraHija()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment