version 1.1, 2019/05/27 07:07:43 |
version 1.2, 2019/05/27 07:15:46 |
|
|
# 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() |