title: Is there a way to set PYTHONHASHSEED for a Jupyter Notebook session?
body: <p>I want to disable the <a href="https://docs.python.org/3/reference/datamodel.html#object.__hash__" rel="nofollow noreferrer">randomization of Python's <em>hash</em> function</a>. According to this thread (<a href="https://stackoverflow.com/questions/32538764/unable-to-see-or-modify-value-of-pythonhashseed-through-a-module">Unable to see or modify value of PYTHONHASHSEED through a module</a>), setting PYTHONHASHSEED by setting <code>os.environ['PYTHONHASHSEED']</code> at runtime does not work. How can I set PYTHONHASHSEED to a fixed value when I run Jupyter Notebook? </p>