Mar-21-2018, 06:35 PM
Please can someone advise me.
I am using python on a linux box and have tried setting environment variables such as PYTHONSTARTUP in my .bashrc file but they seem to be ignored when I start a python shell.
The command I am using is :-
export PYTHONSTARTUP=/home/pi/Documents/PythonProjects/ini.py
The path exists and the ini.py file contains legal python.
Thank you
Dave Nuttall
I am using python on a linux box and have tried setting environment variables such as PYTHONSTARTUP in my .bashrc file but they seem to be ignored when I start a python shell.
The command I am using is :-
export PYTHONSTARTUP=/home/pi/Documents/PythonProjects/ini.py
The path exists and the ini.py file contains legal python.
Thank you
Dave Nuttall