how to read content of file in python code example
Example 1: open text file in python
f=open("Diabetes.txt",'r')
f.read()
Example 2: how to get the contents of a txt file in python
path= #path here
with open(path) as file
contents = file.read()