Skip to content

Latest commit

 

History

History
30 lines (28 loc) · 747 Bytes

File metadata and controls

30 lines (28 loc) · 747 Bytes
aliases category classification date date_modified draft id image links local_archive_links pinned print series tags title type
list-functions-in-python-module
python
public
2020-12-24 07:29:05 -0800
2020-12-24 07:29:05 -0800
false
20201224152905
false
false
functions
module
python
List Functions in a Python Module
tech-note

Substitute colorama with the name of a module.

>>> import colorama
>>> dir(colorama)
['AnsiToWin32', 'Back', 'Cursor', 'Fore', 'Style', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', 'ansi', 'ansitowin32', 'colorama_text', 'deinit', 'init', 'initialise', 'reinit', 'win32', 'winterm']