Home  >  Article  >  Backend Development  >  How to write python code with anaconda

How to write python code with anaconda

silencement
silencementOriginal
2019-05-22 16:16:4827195browse

How to write python code with anaconda

First, you install Anaconda. After the installation is complete, you can find Anaconda in the start menu, which contains the following items:

How to write python code with anaconda

1. The third "Anaconda Prompt" is a window similar to cmd:

How to write python code with anaconda

2. You create a new .py file on the desktop, such as "hello.py", Code the following code inside:

print("hello world"), save

3. In "Anaconda Prompt" cd to the desktop (note: you can go to any file attribute on the desktop Find the path of the desktop):

How to write python code with anaconda

4. Input: python hello.py

How to write python code with anaconda

5. The interface is as follows:

How to write python code with anaconda

The above is the detailed content of How to write python code with anaconda. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn