Exam Kernel
A wrapper for the IPython kernel that sanitizes the input before execution.
It can block or allow certain imports and magic commands.
By default all terminal commands (lines starting with !) are removed.
See the section ExamKernel Configuration for all configuration options.