Here we assume that you have Python 2.7 installed on your system with at least the numpy package.
It's very simple, just open the Preferences UI: [File:PythonPrefs.png]