bundles / IPython 9.14.0.dev / IPython / utils / path / get_py_filename
function
IPython.utils.path:get_py_filename
source: /IPython/utils/path.py :76
Signature
def get_py_filename ( name ) Summary
Return a valid python filename in the current directory.
Extended Summary
If the given name is not a file, it adds '.py' and searches again. Raises IOError with an informative message if the file isn't found.
Aliases
-
IPython.core.interactiveshell.get_py_filename