open no format file in python code example
Example 1: python file reading
fin = open("NAME.txt", 'r')
body = fin.read().split("\n")
line = fin.readline().strip()
Example 2: how to access a txt file through os library in python
my_file_handle=open("folder/test.txt")
my_file_handle.read()