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

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.

主站蜘蛛池模板: 犍为县| 绍兴县| 繁昌县| 元朗区| 枣阳市| 威宁| 旌德县| 蓝山县| 镇沅| 大邑县| 新绛县| 黔南| 松原市| 乌兰察布市| 宁乡县| 防城港市| 康平县| 博兴县| 上蔡县| 新建县| 张家口市| 马边| 饶阳县| 丰原市| 临夏市| 昆明市| 区。| 清涧县| 察隅县| 禹城市| 宁城县| 酒泉市| 高要市| 新源县| 新化县| 湟源县| 黄浦区| 县级市| 肇州县| 古田县| 边坝县|