Created
December 15, 2015 21:24
-
-
Save rgbkrk/1657ef95baa2fb846ebf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ docker run --rm --net=host -it ipython/ipython ipython | |
| Python 3.4.3 (default, Oct 14 2015, 20:28:29) | |
| Type "copyright", "credits" or "license" for more information. | |
| IPython 4.0.1 -- An enhanced Interactive Python. | |
| ? -> Introduction and overview of IPython's features. | |
| %quickref -> Quick reference. | |
| help -> Python's own help system. | |
| object? -> Details about 'object', use 'object??' for extra details. | |
| In [1]: import jupyter_client | |
| In [2]: jupyter_client.localinterfaces.public_ips() | |
| Out[2]: ['172.17.0.1', '172.99.78.157', '10.176.229.122'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment