bundles / IPython latest / IPython / core / magics / namespace / NamespaceMagics / who_ls
function
IPython.core.magics.namespace:NamespaceMagics.who_ls
Signature
def who_ls ( self , parameter_s = '' ) Summary
Return a sorted list of all interactive variables.
Extended Summary
If arguments are given, only variables of types matching these arguments are returned.
Examples
Define two variables and list them with who_ls:: In [1]: alpha = 123 In [2]: beta = 'test' In [3]: %who_ls Out[3]: ['alpha', 'beta'] In [4]: %who_ls int Out[4]: ['alpha'] In [5]: %who_ls str Out[5]: ['beta']Aliases
-
IPython.core.magics.NamespaceMagics.who_ls