• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

Is the following syntax valid? file = open("filename.txt","r") print(file.read()) file.close()
filespython
0 Votes
3 Answers
10th Jul 2016, 2:47 AM
Essam Mohamed Mahmoud Ahmed
Essam Mohamed Mahmoud Ahmed - avatar
can anybody tell me what has changed
"r")=contents")filefile.close()initialopen("newfile.txt"print("finished")print("readingprint(file.read())
1 Vote
1 Answer
27th Mar 2019, 4:41 AM
èƒĄè»’è±Ș
èƒĄè»’è±Ș - avatar
Hot today
My codebits section is full of deleted codes
12 Votes
Ai generated practices
1 Votes
Why so many mathematical questions in challenges?
0 Votes
Where did mess up....
1 Votes
I have an error in a problem and I don't know what the correct answer is
1 Votes
Feedback on my portfolio
0 Votes
I need a siren sound
0 Votes
Yo this is madness
0 Votes
How can i insert files?
1 Votes
Patters of library class
0 Votes