Cutoffgrade / funcs.py
Hamza Salhi
Update funcs.py
6e5e6e5 verified
def get_text_block(fname):
# this is how to read a block of text:
path = "text_blocks"
f = open(path + "//" + fname, "r")
# and then write it to the app
return f.read();