Programming question & answer

What is PYTHONSTARTUP environment variable?

RRTutors community answer Published Dec 24, 2019

Answer

PYTHONSTARTUP - It contains the path of an initialization file containing Python source code. It is executed every time you start the interpreter. It is named as .pythonrc.py in Unix and it contains commands that load utilities or modify PYTHONPATH.