Cursos
Iniciar sesión
Comenzar a aprender IA
Cursos
Iniciar sesión
Comenzar a aprender IA
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
What will happened if we write 2 times file.close() statement?
files
python
1 Voto
5 Respuestas
29th Mar 2016, 3:45 PM
Dinesh Ingole
Is the following syntax valid? file = open("filename.txt","r") print(file.read()) file.close()
files
python
0 Votos
3 Respuestas
10th Jul 2016, 2:47 AM
Essam Mohamed Mahmoud Ahmed
file = open("/usercode/files/books.txt", "r") #your code goes here file.close()
files
1 Voto
5 Respuestas
2nd Jan 2022, 2:11 PM
Abiye Iniabere
Can only one file be open at once? If no, does the file.close() method close all open files...
files
python
0 Votos
3 Respuestas
11th Oct 2016, 2:28 PM
Paul Obasi
can anybody tell me what has changed
"r")
=
contents")
file
file.close()
initial
open("newfile.txt"
print("finished")
print("reading
print(file.read())
1 Voto
1 Respuesta
27th Mar 2019, 4:41 AM
胡軒豪
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
En tendencia hoy
Audio adding
1 Votes
playground input
0 Votes
What is problem in this code
0 Votes
Stuck in Quize
2 Votes
Software developer
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
C Program
0 Votes
How I can use div
0 Votes
Asking for final year project ideas!
1 Votes
TIPS From Veterans
1 Votes