MCPcopy Index your code
hub / github.com/ipython/ipython / loadpy

Method loadpy

IPython/core/magics/code.py:308–315  ·  view source on GitHub ↗

Alias of `%load` `%loadpy` has gained some flexibility and dropped the requirement of a `.py` extension. So it has been renamed simply into %load. You can look at `%load`'s docstring for more info.

(self, arg_s)

Source from the content-addressed store, hash-verified

306
307 @line_magic
308 def loadpy(self, arg_s):
309 """Alias of `%load`
310
311 `%loadpy` has gained some flexibility and dropped the requirement of a `.py`
312 extension. So it has been renamed simply into %load. You can look at
313 `%load`'s docstring for more info.
314 """
315 self.load(arg_s)
316
317 @line_magic
318 def load(self, arg_s):

Callers

nothing calls this directly

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected