Set path for directory

I have been trying out some codes, but i have not been able to set the path as the commands are in linux

export SiamMask=$PWD

export PYTHONPATH=$PWD:$PYTHONPATH

These are the commands used , since I use Collab .

Hi, You can use Python to set paths.