Open lazlop opened 2 years ago
This should be able to be done via the pathlib module.
from pathlib import Path
pth = Path('path').resolve(strict=True) # strict resolves symlinks
# this is now a Path object not a string if you need a string to pass to pyFMI you can use
str(pth)
I'm currently writing an agent that works with FMU files (using pyFMI), but I can't seem to access the FMU files. How can I allow a volttron agent to access a .fmu file by absolute path?