官术网_书友最值得收藏!

The Python environment

A feature of the Python environment is its interactive console allowing you to both use Python as a desktop programmable calculator and also as an environment to write and test snippets of code. The read-evaluate-print loop of the console is a very convenient way to interact with a larger code base, such as to run functions and methods or to create instances of classes. This is one of the major advantages of Python over compiled languages such as C/C++ or Java, where the write-compile-test-recompile cycle can increase development time considerably compared to Python's read - evaluate - print loop. Being able to type in expressions and get an immediate response can greatly speed up data science tasks.

There are some excellent distributions of Python apart from the official CPython version. Two of the most popular are Anaconda (https://www.continuum.io/downloads) and Canopy (https://www.enthought.com/products/canopy/). Most distributions come with their own developer environments. Both Canopy and Anaconda include libraries for scientific, machine learning, and other data applications. Most distributions come with an editor.

There are also a number of implementations of the Python console, apart from the CPython version. Most notable amongst these is the Ipython/Jupyter platform that includes a web-based computational environment.

主站蜘蛛池模板: 威海市| 广宗县| 清水河县| 聂拉木县| 黄平县| 奉新县| 神农架林区| 三原县| 镇安县| 云浮市| 广饶县| 客服| 曲靖市| 天长市| 丰原市| 山东省| 琼结县| 泰兴市| 察哈| 雷波县| 凤冈县| 河津市| 赤壁市| 定西市| 吉首市| 巴马| 乐平市| 西昌市| 张北县| 吉安市| 奇台县| 宿松县| 九江县| 奉贤区| 江山市| 阆中市| 西昌市| 大英县| 龙陵县| 吐鲁番市| 霍城县|