code: def pymodule(line, cell=None):
    
    parser = _commands.CommandParser.create('pymodule')
    parser.add_argument('-n', '--name',
                        help='the name of the python module to create and import')
    parser.set_defaults(func=_pymodule_cell)
    return _utils.handle_magic_line(line, cell, parser)
docs: Creates and subsequently auto-imports a python module.