@erik-stein Suggested in a PR that we could/should change the way we read contents from files. Since our path are represented using the class Path we can use function from that package to read files.
e.g. in main/tex_compiler/tex_compiler.py:
self.intakt_skeleton: Path = ...
with open(self.intakt_skeleton, "r") as skel_f:
tex_skeleton = skel_f.read()
@erik-stein Suggested in a PR that we could/should change the way we read contents from files. Since our path are represented using the class
Path
we can use function from that package to read files.e.g. in
main/tex_compiler/tex_compiler.py
:could be written as
If someone could do this/look in this, that would be great.