jie_test4 / Rfile.py
jie1's picture
Upload Rfile.py
a266181
raw
history blame
205 Bytes
def j_reads(file):
with open(file, "r") as f:
contents = f.readlines()
return contents
def j_read(file):
with open(file, "r") as f:
content = f.readline()
return content