Home Software Github Colabs Shell Basics Apis Webscraping Nbdev Javascript Packages Cloud Functions Browser Extensions Path Css Css Animations Fonts Unicode Ascii Javascript Llm Paradigms Protocols Shortcuts Websites

Don't Look! I'm changing!

URL Copied

Setting Path at Unix/Linux
 To add the Python directory to the path for a particular session in Unix −
 
 In the csh shell − type setenv PATH "$PATH:/usr/local/bin/python3" and press Enter.
 
 In the bash shell (Linux) − type export PYTHONPATH=/usr/local/bin/python3.4 and press Enter.
 
 In the sh or ksh shell − type PATH = "$PATH:/usr/local/bin/python3" and press Enter.
 
 Note − /usr/local/bin/python3 is the path of the Python directory.