'What does sys.path.append("..") do?
I bumped into this statement in a python script : sys.path.append("..")
I did some research, but I could not find what does it do.
I know sys.path.append() function appends a path at the end of the PYTHONPATH list. But what does ".." stand for?
Needless to say that this python scripts does not work if I comment the line.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
