Hi All,
In my case, _file_ returns "'C:/Users/Rui Cheng/KLayout/salt/siepic_tools/tech/GSiP/pymacros/GSiP Library.lym'", which is seen as invalid path in many cases of Python.
I guess that the issue might be because of the name space of my usename folder? But that issue doesn't exist in my Spyder.
Currently, I have fixed the issue by using _file_[1:-1].
I wondered if anyone could help fix this issue.
Thanking you!
Hi All,
In my case, _file_ returns "'C:/Users/Rui Cheng/KLayout/salt/siepic_tools/tech/GSiP/pymacros/GSiP Library.lym'", which is seen as invalid path in many cases of Python.
I guess that the issue might be because of the name space of my usename folder? But that issue doesn't exist in my Spyder.
Currently, I have fixed the issue by using _file_[1:-1].
I wondered if anyone could help fix this issue.
Thanking you!