bundles / IPython 9.17.0 / IPython / utils / path / get_py_filename
function
IPython.utils.path:get_py_filename
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