private void lazilyLoadGamerStub() {
if (thePythonGamer == null) {
try {
// Load in the Python gamer, using a Jython intepreter.
PythonInterpreter interpreter = new PythonInterpreter();
interpreter.exec("from " + getPythonGamerModule() + " import " + getPythonGamerName());
PyObject thePyClass = interpreter.get(getPythonGamerName());
PyObject PyGamerObject = thePyClass.__call__();
thePythonGamer = (Gamer)PyGamerObject.__tojava__(Gamer.class);
} catch(Exception e) {
GamerLogger.logError("GamePlayer", "Caught exception in Python initialization:");