opening documents through python code example
Example 1: open text file in python
f=open("Diabetes.txt",'r')
f.read()
Example 2: how to open a file in python
open("filename" , "mode")
# do whatever you want to do!!
f=open("Diabetes.txt",'r')
f.read()
open("filename" , "mode")
# do whatever you want to do!!