Cours
Se connecter
Commencer à apprendre l'IA
Cours
Se connecter
Commencer à apprendre l'IA
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
What will happened if we write 2 times file.close() statement?
files
python
1 Vote
5 Réponses
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 Vote
3 Réponses
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 Vote
5 Réponses
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 Vote
3 Réponses
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 Vote
1 Réponse
27th Mar 2019, 4:41 AM
胡軒豪
Poser une question
Poser une question
Poser une question
Poser une question
Aujourd'hui en vedette
Python intermediate help with dictionaries
0 Votes
I'm about to make a complex calculator in python
0 Votes
Marquee
1 Votes
Any Advise?
2 Votes
why is python community is too small in sololearn?
0 Votes
How far do courses go on Sololearn?
0 Votes
Popsacles Aufgabe
1 Votes
Button In C++
1 Votes
Audio adding
1 Votes
C#
0 Votes