• Cursos
  • Code Compiler
  • Discussão
  • Preços
  • Equipas
Menu
+ 1

if we forget to close file in python , make memory leak ?

Python

python3
30th Jun 2019, 3:37 AM
Wally Marshmallow
Wally Marshmallow - avatar
2 Respostas
+ 1
This might help: https://stackoverflow.com/questions/25070854/why-should-i-close-files-in-JUMP_LINK__&&__python__&&__JUMP_LINK
30th Jun 2019, 7:52 AM
Paul Grasser
Paul Grasser - avatar
0
Thanks for your answer
30th Jul 2019, 5:06 AM
Wally Marshmallow
Wally Marshmallow - avatar

Tens frequentemente perguntas como esta?

Aprende de forma mais eficiente, gratuitamente:

  • Introdução ao Python

    7,1M de estudantes

  • Introdução ao Java

    4,7M de estudantes

  • Introdução ao C

    1,5M alunos

  • Introdução ao HTML

    7,5M alunos

Ver todos os cursos
Popular hoje
I need help
1 Votes
My hearts are disappering :(
0 Votes
How to learn python fast than usual in sololearn?
0 Votes
What can html, css and javascript do
0 Votes
a phone or a laptop
0 Votes
Pressure and tension
2 Votes
Where is code bit
0 Votes
How to make a selection on a calculator in Python
0 Votes
Conducción de calor o Q=−kAdTdxQ = -k A \frac{dT}{dx}Q=−kAdxdT o Pared 2 m², espesor 0.1 m, k = 50 W/m°C, ΔT = 30°C → Q ≈ 30,0
0 Votes
Java IDE for building a game.
0 Votes