Running a script on Putty, under directory user/Projects/Python/example.py.
Under the Python directory, there is a subfolder called crypto, and under that, a library called cryptolib.so.
If I run example.py from the Python folder, it works perfectly. But if I run it from my user folder, it says:
OSError: ./crypto/cryptolib.so: cannot open shared object file: No such file or directory.
This is a C++ library I'm calling, using Python
How do I change the library path?