Shell module for Python