Courses
Login
Start now
Courses
Login
Start now
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
Fast coding (mobile)
1 Votes
..
1 Votes
Beginner_to_SoloLearn
2 Votes
DSA doubt
1 Votes
Coding help
2 Votes
Bridge pattern use case
0 Votes
Hofstadter a sequence code coach is not running
0 Votes
Data structure using C
0 Votes
Input errors (python)
1 Votes
the code for bigneer is not really what to do after coding begeneer in sololearn
0 Votes