The pyhton equivalent is import os; os.sep
Folder1+ os.sep + Subfolder2 + os.sep + mainfile.txt
Best improvisation I’ve come up with is:
=ISNUMBER(FIND("\",A2))
This assumes user has already specified their file paths somewhere else.
The pyhton equivalent is import os; os.sep
Folder1+ os.sep + Subfolder2 + os.sep + mainfile.txt
Best improvisation I’ve come up with is:
=ISNUMBER(FIND("\",A2))
This assumes user has already specified their file paths somewhere else.
Hallo
In python it doesnt matter, you should always use /slash:
from pathlib import Path
p = Path.home() / "folder" / "subfolder" / "mainfile.txt"
but anyway:
=IF(INFO("system")="WNT";"\";"/")