[BACK]Return to kernel.py CVS log [TXT][DIR] Up to [local] / OpenXM / src / jupyter

Diff for /OpenXM/src/jupyter/kernel.py between version 1.1 and 1.2

version 1.1, 2019/05/27 07:07:43 version 1.2, 2019/05/27 07:15:46
Line 1 
Line 1 
 # coding: utf-8  # coding: utf-8
 # $OpenXM$  # $OpenXM: OpenXM/src/jupyter/kernel.py,v 1.1 2019/05/27 07:07:43 takayama Exp $
 from __future__ import print_function  from __future__ import print_function
   
 import codecs  import codecs
Line 103  class OctaveKernel(ProcessMetaKernel):
Line 103  class OctaveKernel(ProcessMetaKernel):
             return              return
 #        f = open('tmptmp.txt','a');f.write(str(code));f.close()  #####  #        f = open('tmptmp.txt','a');f.write(str(code));f.close()  #####
 #        self._octave_engine.logger.debug(str(code))  #####  #        self._octave_engine.logger.debug(str(code))  #####
         val = ProcessMetaKernel.do_execute_direct(self, code, silent=silent)          val = ProcessMetaKernel.do_execute_direct(self, code+';;', silent=silent)
         if not silent:          if not silent:
             try:              try:
                 plot_dir = self.octave_engine.make_figures()                  plot_dir = self.octave_engine.make_figures()

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>