#NEWLINE# def start_channels( self , shell = True , sub = True , stdin = True , hb = True ) : #NEWLINE# #INDENT# 'Starts the channels for this kernel.\n\n        This will create the channels if they do not exist and then start\n        them. If port numbers of 0 are being used (random ports) then you\n        must first call :method:`start_kernel`. If the channels have been\n        stopped and you call this, :class:`RuntimeError` will be raised.\n        ' #NEWLINE# if shell : #NEWLINE# #INDENT# self . shell_channel . start ( ) #NEWLINE# #UNINDENT# if sub : #NEWLINE# #INDENT# self . sub_channel . start ( ) #NEWLINE# #UNINDENT# if stdin : #NEWLINE# #INDENT# self . stdin_channel . start ( ) #NEWLINE# #UNINDENT# if hb : #NEWLINE# #INDENT# self . hb_channel . start ( )