Cutoffgrade / funcs.py
Hamza Salhi
Upload 10 files
12b6218 verified
raw
history blame
218 Bytes
def get_text_block(fname):
# this is how to read a block of text:
path = "..//pdac2021_res_est_course_link2//text_blocks"
f = open(path + "//" + fname, "r")
# and then write it to the app
return f.read();