Kursy
Kursy
Kompilator kodu
Kompilator kodu
Dyskusja
Zespoły
Zaloguj się
Zarejestruj się
Menu
Dyskusje Q&A
Szukaj
Szukaj
Zadaj pytanie
Zadaj pytanie
What will happened if we write 2 times file.close() statement?
files
python
1 Głos
5 odpowiedzi
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 głosów
3 odpowiedzi
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 Głos
5 odpowiedzi
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 głosów
3 odpowiedzi
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 Głos
1 Odpowiedź
27th Mar 2019, 4:41 AM
胡軒豪
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Popularne dzisiaj
What method helped you to learn fast programming language,Python?
1 Votes
Inserting a photo in python
1 Votes
HOW TO CREATE A FORM?
0 Votes
System recommendation
0 Votes
Please make it work.
1 Votes
????
0 Votes
hi
0 Votes
Sorting Algorithm
1 Votes
Css
0 Votes
Server costs.
0 Votes