10 lines
246 B
Python
Raw Normal View History

2024-11-01 18:07:08 -03:00
from pathlib import Path
def shared_volume() -> Path:
2024-12-14 06:34:11 -03:00
return Path(__file__).parent.parent.parent.joinpath("volume")
def compact(a_string: str) -> str:
2024-12-14 06:34:11 -03:00
return "\n".join([line.strip() for line in a_string.splitlines() if line.strip()])