other:uvcdat:cdat_conda:ipnb
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
other:uvcdat:cdat_conda:ipnb [2019/05/17 18:35] – jypeter | other:uvcdat:cdat_conda:ipnb [2019/05/20 11:10] (current) – Improved jypeter | ||
---|---|---|---|
Line 4: | Line 4: | ||
There are **many** python distributions, | There are **many** python distributions, | ||
- | * // | + | * // |
* using python in a //Linux terminal//, the [[https:// | * using python in a //Linux terminal//, the [[https:// | ||
* using the default '' | * using the default '' | ||
Line 24: | Line 24: | ||
In [2]: | In [2]: | ||
Do you really want to exit ([y]/n)? y</ | Do you really want to exit ([y]/n)? y</ | ||
- | * using //ipython notebooks// | + | * using python interactively in a //ipython notebooks//, which means that |
- | + | * you will use an ipython interpreter | |
- | //Using an ipython notebook// | + | * in a web browser (rather than a terminal) |
- | * you will use an ipython interpreter | + | * a notebook is the content of the web page where you have interacted with python. You can save it ('' |
- | * in a web browser (rather than a terminal) | + | * the notebooks have cells with python input, python output (including graphics), and cells that can be used to format the document (titles, formatted text, equations, images, etc...) |
- | * a notebook is the content of the web page where you have interacted with python. You can save it ('' | + | * the notebooks support several other languages (e.g. **R**) |
===== How does it work? ===== | ===== How does it work? ===== | ||
Line 43: | Line 43: | ||
* the server will display the URL that you have to use. The URL has an authentication token and only you (or the person who has a copy of the full URL) can connect to your server | * the server will display the URL that you have to use. The URL has an authentication token and only you (or the person who has a copy of the full URL) can connect to your server | ||
* the basic way to start a server is to just type '' | * the basic way to start a server is to just type '' | ||
- | * the '' | + | * the '' |
- | * if you have to work on a remote computer, the idea is to start the ipython server on the remote computer and use a web browser on your local computer (thanks to an //ssh tunnel//) | + | * if you have to work on a remote computer, |
- in a web browser, open the temporary URL displayed by the ipython server and start using the ipython notebooks | - in a web browser, open the temporary URL displayed by the ipython server and start using the ipython notebooks | ||
- | - when you are finished, <wrap em>do not forget to kill the ipython server</ | + | - when you are finished, <wrap em>do not forget to kill the ipython server</ |
- | * Warning! Closing the browser, or using the Logout button in the browser will not stop the ipython server | + | * Warning! Closing the browser, or using the '' |
===== Working correctly with the notebooks ===== | ===== Working correctly with the notebooks ===== |
other/uvcdat/cdat_conda/ipnb.1558110902.txt.gz · Last modified: 2019/05/17 18:35 by jypeter