/usr/share/psi/python/interactive.py is in psi4-data 1:0.3-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | from psi4 import *
import readline # optional, will allow Up/Down/History in the console
import code
def run():
print_out("\nStarting interactive session.\n\n")
vars = globals().copy()
vars.update(locals())
shell = code.InteractiveConsole(vars)
shell.interact()
|