Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
What #open# should we use to read a txt file inside python.py ?
"r")
open("file.txt",
0 Votes
2 Answers
10th Sep 2021, 3:17 PM
Gen Lao
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
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