PYTHONSTARTUP == .profile

Posted on Thu 04 June 2009 in python, tips • Tagged with python

When you use Python interactively, it is frequently handy to have some standard commands executed every time the interpreter is started. You can do this by setting an environment variable named PYTHONSTARTUP to the name of a file containing your start-up commands. This is similar to the .profile feature of ...


Continue reading