Show More
@@ -23,6 +23,7 b' from IPython.core.error import StdinNotImplementedError, UsageError' | |||
|
23 | 23 | from IPython.core.magic import Magics, magics_class, line_magic |
|
24 | 24 | from IPython.testing.skipdoctest import skip_doctest |
|
25 | 25 | from IPython.utils.encoding import DEFAULT_ENCODING |
|
26 | from IPython.utils.openpy import read_py_file | |
|
26 | 27 | from IPython.utils.path import get_py_filename |
|
27 | 28 | |
|
28 | 29 | #----------------------------------------------------------------------------- |
@@ -118,7 +119,7 b' class NamespaceMagics(Magics):' | |||
|
118 | 119 | except IOError as msg: |
|
119 | 120 | print msg |
|
120 | 121 | return |
|
121 |
page.page(self.shell. |
|
|
122 | page.page(self.shell.pycolorize(read_py_file(filename))) | |
|
122 | 123 | |
|
123 | 124 | @line_magic |
|
124 | 125 | def psearch(self, parameter_s=''): |
General Comments 0
You need to be logged in to leave comments.
Login now