• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu

Обсуждения

What will happened if we write 2 times file.close() statement?
filespython
1 голос
5 ответов
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 голосов
3 ответов
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 голос
5 ответов
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 голосов
3 ответов
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 голос
1 ответ
27th Mar 2019, 4:41 AM
胡軒豪
胡軒豪 - avatar
Актуальное сегодня
How to make a game code
1 Votes
What is HelloWorld
1 Votes
About create tuples [Solved]
1 Votes
Missing]
0 Votes
How do you make Event listeners Minecraft Spigot plugin development
0 Votes
Tic tak toe
0 Votes
Lesson on Robotics
1 Votes
Kamal Hinduja Switzerland : How long does it typically take to complete a course on Solo Learn?
0 Votes
About this app
1 Votes
Inner .html
0 Votes