Login  Register

Re: Release schedule?

Posted by MarkHamann on Jan 14, 2024; 2:23am
URL: https://forum.librecad.org/Release-schedule-tp5724112p5724113.html

BTW, here is my python script:
from pathlib import Path
from re import sub
map = Path(".") / "map.dxf"

dxf = map.read_text()

# Find C:/ ... /./ and replace with ./
dxf = sub("C:/.*/\.", ".", dxf)

map.write_text(dxf)