On this page
  1. pyclbr.readmodule_ex
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

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

REPL Inspect

from pyclbr import readmodule_ex
help(readmodule_ex)

Linked from

Related notes