This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
other:python:starting [2019/06/17 07:03] jypeter [CDAT] improved |
other:python:starting [2021/01/05 13:42] jypeter Moved the Anaconda section before EDM, and improved it a bit |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Working with Python ====== | ====== Working with Python ====== | ||
- | <note tip>This page will tell you how to select a python distribution and start (and exit!) the python interpreter | + | <note tip>This page will tell you how to select a //python distribution// and start (and exit!) the python interpreter |
- | You can then read the [[jyp_steps|JYP's recommended steps for learning python]] for really working with python | + | After reading this page, you can read the [[jyp_steps|JYP's recommended steps for learning python]] for really working with python |
</note> | </note> | ||
Line 161: | Line 161: | ||
==== CDAT ==== | ==== CDAT ==== | ||
- | [[https://uvcdat.llnl.gov/|CDAT]] (//Community Data Analysis Tools//) is a powerful and complete front-end to a rich set of visual-data exploration and analysis capabilities well suited for **climate** data analysis problems, and is recommended by JYP. | + | [[https://uvcdat.llnl.gov/|CDAT]] (//Community Data Analysis Tools//) is a powerful and complete front-end to a rich set of visual-data exploration and analysis capabilities well suited for **climate** data analysis problems. CDAT is **recommended by JYP**. |
CDAT is **available for Mac, Linux and Windows 10 (Windows 10 + [[other:win10wsl|Windows Subsystem for Linux, and Ubuntu]])**. | CDAT is **available for Mac, Linux and Windows 10 (Windows 10 + [[other:win10wsl|Windows Subsystem for Linux, and Ubuntu]])**. | ||
Line 237: | Line 237: | ||
</code> | </code> | ||
- | ==== Canopy ==== | ||
- | [[https://www.enthought.com/products/canopy/|Enthought Canopy]] is //a Scientific and Analytic Python Deployment with Integrated Analysis Environment// provided by [[https://www.enthought.com/|Enthought]]. It used to be called EPD (//Enthought Python Distribution//) | + | ==== Anaconda ==== |
- | Canopy is **available for Windows, Mac and Linux**. You can download the free //Canopy Express// that will already provide many extensions. If you are entitled to use //Canopy Academic//, login from inside Canopy Express and download the extra modules you need | + | <note tip>This is the recommended Python distribution/environment. It is **available for Windows, Mac and Linux**</note> |
+ | [[https://www.continuum.io/why-anaconda|Anaconda]] is a distribution provided by [[https://www.continuum.io/|Continuum Analytics]]. It is similar to [[#enthought_deployment_manager_edm|EDM]] | ||
- | ==== Anaconda ==== | ||
- | [[https://www.continuum.io/why-anaconda|Anaconda]] is a distribution similar to [[#canopy]] provided by [[https://www.continuum.io/|Continuum Analytics]]. | + | Note: Anaconda provides and uses ''conda'' for its installation. Since [[#cdat|CDAT]] is also installed and maintained with ''conda'', you can read the [[other:uvcdat:conda_notes|Installing and maintaining UV-CDAT with conda]] page for more information, even if you are not going to use CDAT |
- | Anaconda is **available for Windows, Mac and Linux** | + | ==== Enthought Deployment Manager (EDM) ==== |
- | Note: Anaconda provides and uses ''conda'' for its installation. Since CDAT is now also installed and maintained with ''conda'', you can read the [[other:uvcdat:conda_notes|Installing and maintaining UV-CDAT with conda]] page for more information, even if you are not going to use CDAT | + | <note tip>This was previously called //Enthought Python Distribution (EPD)// and then //Enthought Canopy//</note> |
+ | |||
+ | [[https://www.enthought.com/enthought-deployment-manager/|Enthought Deployment Manager (EDM)]] is Enthought’s mechanism to deliver scientific software applications and development environments | ||
+ | |||
+ | There are native installers for Windows (.msi), Mac OS X (.pkg), RHEL/Fedora (.rpm), and Debian/Ubuntu (.deb) | ||
===== ipython ===== | ===== ipython ===== | ||
Line 266: | Line 269: | ||
<note warning>FIXME Add a link to the new notebook page</note> | <note warning>FIXME Add a link to the new notebook page</note> | ||
+ | |||
+ | [[https://www.dataquest.io/blog/jupyter-notebook-tutorial/|Jupyter Notebook for Beginners: A Tutorial]] | ||
The ipython notebook is a way to interact with python (and other supported interpreted languages) inside a web browser. You can mix //cells// with python commands, cells with the output of the python commands (possibly graphics generated by the commands), and text (using some wiki-like rich text format). This interactive web page, aka notebook, can be saved in a ''my_notebook.ipynb'' file and re-used later (e.g. the notebook provided in the [[other:python:jyp_steps#part_1|introduction to Python, part 1]]). | The ipython notebook is a way to interact with python (and other supported interpreted languages) inside a web browser. You can mix //cells// with python commands, cells with the output of the python commands (possibly graphics generated by the commands), and text (using some wiki-like rich text format). This interactive web page, aka notebook, can be saved in a ''my_notebook.ipynb'' file and re-used later (e.g. the notebook provided in the [[other:python:jyp_steps#part_1|introduction to Python, part 1]]). |