Answers for "how to open file .txt"

18

open text file in python

f=open("Diabetes.txt",'r')
f.read()
Posted by: Guest on April-25-2020
0

file.open("file.txt);

myfile = open("example.txt")
txt = myfile.read()
print(txt)
myfile.close()
Posted by: Guest on August-30-2020

Python Answers by Framework

Browse Popular Code Answers by Language