python-shell-setup-codes

python-shell-setup-codes is a variable defined in `python.el'.
Its value is

(python-shell-completion-setup-code python-ffap-setup-code python-eldoc-setup-code)

  • This variable is safe as a file local variable if its value
    satisfies the predicate `listp'.

Documentation:
List of code run by `python-shell-send-setup-codes'.

You can customize this variable.