Python: Interactive shell initialiser.