Python version python 2 or Python 3
- Python 2.x is an earlier version, Python 3.x is the current version
- Python 2.7 (final version of 2.x) rarely has a big update since its release in 2010
- Python 2.x has more tool libraries than python3.x
- Most Linux systems installed by default are still Python 2.x
- Version selection depends on the problem to be resolved
Recommended case for Python 2.x:
- The deployment environment is not controllable and Python version cannot be selected by itself
- Some tool libraries are not yet available to support Python 3.x.
- If you choose to use Python 3.x, you need to decide which tool library to use to support the new version.
Note: This course will use the Python 3.x version
Python Environment and Idepython environment
Anaconda(水蟒)
: A scientific computing software release that integrates a large number of commonly used expansion packs, including more than 180 scientific compute packages such as Conda, Python, and their dependencies, and supports all operating system platforms. : Https://www.continuum.io/downloads
Install package: Pip install Xxx,conda install XXX Uninstall package: Pip uninstall xxx,conda uninstall XXX Upgrade pack: Pip install upgrade Xxx,conda update xxx
Idejupyter Notebook:
Command: Jupyter Notebook
- Anaconda comes with no separate installation
- View the running process in real time
基本的web编辑器(本地)
- . ipynb file Sharing
- Can be interactively
- Record Historical Run results
IPython:
Command: Ipython
- Anaconda comes with no separate installation
Python的交互式命令行 Shell
- Can be interactively
- Record Historical Run results
- Validate ideas in a timely manner
Spyder:
Command: Spyder
- Anaconda comes with no separate installation
- Completely free, suitable for users who are familiar with Matlab
功能强大,使用简单的图形界面开发环境
Pycharm:
- Self-installation required: Https://www.jetbrains.com/pycharm/download
- Pycharm,jetbrains's Boutique, full platform support, not much explained.
Pre-data analysis