Kursy
Zaloguj sięZacznij uczyć się AI
Kursy
Zaloguj sięZacznij uczyć się AI

Dyskusje Q&A

What will happened if we write 2 times file.close() statement?
filespython
1 Głos
5 odpowiedzi
29th Mar 2016, 3:45 PM
Dinesh Ingole
Dinesh Ingole - avatar
Is the following syntax valid? file = open("filename.txt","r") print(file.read()) file.close()
filespython
0 głosów
3 odpowiedzi
10th Jul 2016, 2:47 AM
Essam Mohamed Mahmoud Ahmed
Essam Mohamed Mahmoud Ahmed - avatar
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
Abiye Iniabere - avatar
Can only one file be open at once? If no, does the file.close() method close all open files...
filespython
0 głosów
3 odpowiedzi
11th Oct 2016, 2:28 PM
Paul Obasi
Paul Obasi - avatar
can anybody tell me what has changed
"r")=contents")filefile.close()initialopen("newfile.txt"print("finished")print("readingprint(file.read())
1 Głos
1 Odpowiedź
27th Mar 2019, 4:41 AM
胡軒豪
胡軒豪 - avatar
Popularne dzisiaj
How many time I can use sololearn trial mode?
1 Votes
Ошибка в приложении Sololearn
1 Votes
NEO V2.0
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
Hello guys,
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Help me
1 Votes
solo learn program issue - iPhone?
1 Votes
Sololearn course
1 Votes
Payment by account
0 Votes