Corsi
Corsi
Compilatore di codice
Compilatore di codice
Discuti
Prezzi
Squadre
Accedi
Registrati
Menu
Discussioni Q&A
Cerca
Cerca
Fai una domanda
Fai una domanda
What will happened if we write 2 times file.close() statement?
files
python
1 Voto
5 Risposte
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 Voti
3 Risposte
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 Risposte
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 Voti
3 Risposte
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 Risposta
27th Mar 2019, 4:41 AM
胡軒豪
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
Popolare oggi
Where is the bug?
3 Votes
Pointers cpp
2 Votes
Is it possible to convert .zip file to apk? If yes, how??
1 Votes
I think the heart system is ridiculous, 5 hearts that refill after like 5 hours? That is really just crazy to me.
1 Votes
How to add two strings together in ts or css
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
0 Votes
Why can’t I use double “ in python?
0 Votes
Is pro worth the money ?
1 Votes
Drawing images in java
2 Votes
2 cases not correct what's the problem
1 Votes