Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Python Editor anaconda

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article shares with you the content of a sample analysis of the Python editor anaconda. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Step1: introduction to ananconda

Anaconda is a Python distribution for scientific computing, which supports Linux, Mac, Windows, and contains many popular Python packages for scientific computing and data analysis.

Anaconda also includes editors: spyder and jupyter editors

Spyder editor is desktop version; jupyter is web version. Both editors are friendly to beginners, but jupyter needs to be set up and spyder is ready to use out of the box.

Step2: spyder editor

Interface diagram:

Mainly talk about keyboard shortcuts:

* F9 executes this line of code

* Select the code, execute CRTL + ENTER, and execute the code of the selected area

* Note: CRTL + 1

Step3: jupyter Editor:

The jupyter editor and the spyder editor are independent of each other and can be used separately

Jupyter section:

Jupyter can modify the default working directory

Picture on the home page:

Page view:

Step4: package installation package

Due to GFW network problems, the pip install installation package may fail, or the network is slow. You can use Tsinghua image to speed up the network to ensure that the network is normal.

TUNA also provides an image of the Anaconda repository. Run the following command:

Conda config-- add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

Conda config-- add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/

Conda config-set show_channel_urls yes

You can add Anaconda Python free warehouse.

Run the conda install numpy test.

Add:

To install anconda, you can add python to the environment variable directly, so you can enter python after cmd.

Thank you for reading! This is the end of this article on "sample Analysis of Python Editor anaconda". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report