Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

Notice Board

FileNotFoundError Hw4.3.13

A
AndreaMarchetti (450 points)
4 15 19
in Es3 by (450 points)
closed by
Quando mando in esecuzione il grader del 3° esercizio il 13° test mi da FileNotFoundError , no such file or directory: "test13.html".

Non capisco perchè.. quel file dovrebbe crearsi nel momento in cui faccio la open nella funzione con la variabile fileOut( che nel 13° test corrisponde appunto a test13.html ) però non c'è..

Come posso risolvere?
279 views
closed with the note: risolto

1 Answer

andrea.sterbini (207940 points)
756 1270 2377
by (208k points)
Mi sa che non lo crei .... sei sicuro di averlo aperto in scrittura?
A
AndreaMarchetti (450 points)
4 15 19
by (450 points)
Si, anche perchè il test11 che richiama la stessa funzione mi da "ok"
A
AndreaMarchetti (450 points)
4 15 19
by (450 points)
Ho risolto, errore mio. Avevo messo un return nel mezzo della funzione e quindi non creava il file ma restituiva solo un valore