Closed rodolakis closed 3 weeks ago
From @prjemian in #140:
In app.py:
app.py
main_window.setStatus(f"Application started, loading {pathlib.Path(directory).absolute()} ...")
.absolute() v. .resolve() see https://duckduckgo.com/?q=pathlib+absolute+v.+resolve&t=brave&ia=web
.absolute() v. .resolve()
.absolute()
.resolve()
see https://duckduckgo.com/?q=pathlib+absolute+v.+resolve&t=brave&ia=web
if not directory.startswith("/"):
This .startswith("/") makes the program depend on specific filesystems. Won't work on Windows. Maybe compare str(directory.absolute()) with str(directory)?
This .startswith("/") makes the program depend on specific filesystems. Won't work on Windows.
.startswith("/")
Maybe compare str(directory.absolute()) with str(directory)?
str(directory.absolute())
str(directory)
No longer relevant
From @prjemian in #140:
In
app.py
:main_window.setStatus(f"Application started, loading {pathlib.Path(directory).absolute()} ...")
if not directory.startswith("/"):