Cutoffgrade / funcs.py
Hamza Salhi
Update funcs.py
6e5e6e5 verified
raw
history blame contribute delete
183 Bytes
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();