MCPcopy Create free account
hub / github.com/ipython/ipython / loadpy

Method loadpy

IPython/core/magics/code.py:278–285  ·  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

276
277 @line_magic
278 def loadpy(self, arg_s):
279 """Alias of `%load`
280
281 `%loadpy` has gained some flexibility and dropped the requirement of a `.py`
282 extension. So it has been renamed simply into %load. You can look at
283 `%load`'s docstring for more info.
284 """
285 self.load(arg_s)
286
287 @line_magic
288 def load(self, arg_s):

Callers

nothing calls this directly

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected