I have a python project in D:/program/python/test_project/. And in the directory have a entry script named 'start.py'.It uses relative path like './pictures/icons/pic.png' to index other files in this project.
Everything works fine until I use a CSharp Project to run the python project, and it throws the path Error Exception.I print 'os.path.abspath('.')' and it refers to path 'WPFApp\bin\Debug'.The WPF is the root directory of my CSharp project.
Why does it happen?Why the '.' that represent the current directory change?