iPython ? magic
Steve D'Aprano
steve+python at pearwood.info
Thu Sep 21 12:36:53 EDT 2017
In the iPython interactive interpreter, obj? prints information about the given
object. For example:
In [11]: None?
Type: NoneType
Base Class: <type 'NoneType'>
String Form:None
Namespace: Python builtin
Docstring: <no docstring>
Does anyone know that the Namespace field is supposed to show? I can't get it to
display anything except either "Python builtin" or "Interactive".
--
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.
More information about the Python-list
mailing list