On this page
pyclbr.readmodule_ex
Prev: pyclbr.readmodule | Up: pyclbr
Rel: pyclbr.Class, pyclbr.Function, pyclbr.readmodule
Ref: docs.python.org — pyclbr.readmodule_ex
Tags: #public #python3 #stdlib #pyclbr
Import
import pyclbr
from pyclbr import readmodule_ex
Signature & Overview
pyclbr.readmodule_ex(module, path=None)
Return a dictionary with all functions and classes in module.
Usage
import pyclbr
items = pyclbr.readmodule_ex("colorsys")
assert "rgb_to_hsv" in items
Gotchas
- Parses without importing/executing the target module.
REPL Inspect
from pyclbr import readmodule_ex
help(readmodule_ex)
Linked from
Related notes
- tuts/python3/stdlib_module/pyclbr/Class Linked here; links to this page; shared tags: #pyclbr, #stdlib
- tuts/python3/stdlib_module/pyclbr/Function Linked here; links to this page; shared tags: #pyclbr, #stdlib
- tuts/python3/stdlib_module/pyclbr/readmodule Linked here; links to this page; shared tags: #pyclbr, #stdlib
- tuts/python3/stdlib_module/pyclbr Linked here; links to this page; shared tags: #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib
- tuts/c/stdlib/assert/static_assert shared tags: #stdlib
- tuts/c/stdlib/ctype shared tags: #stdlib
- tuts/c/stdlib/ctype/isalpha shared tags: #stdlib