Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
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
debate which is better
5 Votes
Cource
1 Votes
Im confused was that seriously it
0 Votes
Text editor
0 Votes
Debugging issue?
0 Votes
Is anyone else having this issue?
2 Votes
Which one should I start with to learn python. The developer path or both seperate beginner and intermediate python?
0 Votes
Arduino
2 Votes
how to view only application
0 Votes
Scraping
0 Votes