Display None values in iPython
By default, iPython doesn't seem to display None values:
In [1]: x = 1
In [2]: x
Out[2]: 1
In [3]: y = None
In [4]: y
I often end up writing y is None to be sure. How can I configure iPython
to always show the value, even if it is None?
No comments:
Post a Comment