Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Is the following syntax valid? file = open("filename.txt","r") print(file.read()) file.close()
files
python
0 Votes
3 Answers
10th Jul 2016, 2:47 AM
Essam Mohamed Mahmoud Ahmed
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 Answer
27th Mar 2019, 4:41 AM
èĄè»è±Ș
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Saturn League badge
3 Votes
SHOULD I LEARN HTML OR PYTHON/JAVA
1 Votes
Why producer consumer not working at all
1 Votes
Sololearn keeps crashing
1 Votes
certificate
1 Votes
Lua course?
2 Votes
CSS
1 Votes
Trying to listen to tunes while learning
0 Votes
About Advanced Courses
0 Votes
where to practice more python coding problems? (beginner)
0 Votes