Show More
@@ -329,7 +329,7 b' class InteractiveShellApp(Configurable):' | |||
|
329 | 329 | # behavior. |
|
330 | 330 | with preserve_keys(self.shell.user_ns, '__file__'): |
|
331 | 331 | self.shell.user_ns['__file__'] = fname |
|
332 | if full_filename.endswith('.ipy'): | |
|
332 | if full_filename.endswith('.ipy') or full_filename.endswith('.ipynb'): | |
|
333 | 333 | self.shell.safe_execfile_ipy(full_filename, |
|
334 | 334 | shell_futures=shell_futures) |
|
335 | 335 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now