wizapp-stdlib/codegen/utils.py

7 lines
149 B
Python

from pathlib import Path
def load_func_body_from_file(filename: Path) -> str:
with open(filename, "r") as infile:
return infile.read()