#NEWLINE# def set_variable( self , name , value ) : #NEWLINE# #INDENT# '\n        Set a variable in the kernel language.\n        ' #NEWLINE# python_magic = self . line_magics [ 'python' ] #NEWLINE# python_magic . env [ value ] = value