0.1. Help Ⓗ - JulTob/Python GitHub Wiki
The dir function
This function can accept arguments.
If the argument is the name of a module, the function
returns the list of names from that specified module.
If there is no argument, the function returns the list of names from the current module.
If the argument is a module, this list includes functions, classes and variables, defined inside that module.
import sys
dir(sys)
dir()
# Current active packages.