# sourceinspect **Repository Path**: archibate/sourceinspect ## Basic Information - **Project Name**: sourceinspect - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-27 - **Last Updated**: 2021-03-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README SourceInspect ============= The functionality is mainly same as ``inspect``, but fixing the ``OSError`` when used in some non-standard shells. API reference ------------- - ``sourceinspect.getsource(object)`` - ``sourceinspect.getsourcelines(object)`` - ``sourceinspect.getsourcefile(object)`` Supported shells ---------------- - Python script - Python interactive shell (needs ``pip install dill``) - IPython advanced shell - Jupyter notebook - Blender scripting module - Blender interactive mode (need manually add hooks to ``code.py``) - Python IDLE file mode - Python IDLE interactive mode (need manually add hooks to ``code.py``)