Ryan Leung (yanyan.ryan.leung@gmail.com)
Please go to
https://tinyurl.com/y6wzrkl5 (introduction)
https://tinyurl.com/ybz69nux (hands-on materials)
https://tinyurl.com/ycwj6kcs (Download all notebooks)
- Varieties of programming languages
- Multi-core CPU and GPU support
- Easily-accessible cloud computing
- Cloud microservices
- high-level
- object-oriented, and
- Interpreted
programming language.
- "Low level language": C, Fortran, Basic
- Level means the accessiblity to system resources.
- High Level :
- care less about memory management or proper declaration of variables
- less abstract than low-level language
- less time to write and compile
- relatively slower running time than some low-level language (not always true).
- Web backend developers
- Data science
- Machine learning
Results are quoted from https://www.jetbrains.com/research/devecosystem-2018/python/
- Refer to another guide
- Recommendation:
- Anaconda
- Google colab
conda search xxxxxx
conda install xxxxxx
pip
is a package management system in Python
To search/install packages:
- Search package :
pip search xxxxxx
- Install package :
pip install xxxxxx
- Upgrade package :
pip install --upgrade xxxxxx
- Uninstall package :
pip uninstall xxxxxx
- Install wheel package :
pip install xxxxxx.whl
You may want to run a Jupyter notebook when:
- You want to try out a new experiment or analysis with an existing Jupyter notebook from someone.
- You want to develop an algorithm that run on a large software.
- You have only ten minutes to download a data, plot a graph and send the email to your supervisor in a neat format.
Type
jupyter notebook
Open your Start menu, goes to Anaconda
Folder,
Click the Jupyter Notebook
shortcut (Recommended). Or start the Anaconda Navigator
and Launch
The hand's on session requires a working python installations with Jupyter installed. The following links are read-only, they do not run calculations in your computer.
- Introduction to Pandas
- Python Functions and Class
- Python Matplotlib
- Python plotting with Astropy and AplPy
Here are some online Python platform that are quite good indeed.
- stackoverflow.com
This tutorial have referenced the following materials:
- Unidata's online-python-training
- Anaconda Installation Guide
- And thanks Sandy Chan and Stephen Ng