Home  >  Article  >  Backend Development  >  How to create a new project in python

How to create a new project in python

little bottle
little bottleOriginal
2019-05-31 09:23:1045641browse

Some friends who are learning python asked how to create a new project in python. Next, I use pycharm (an integrated development environment mainly used for python programming) to show you how to create a new python project.

How to create a new project in python

Steps to write a new project in pycharm:

The first step is to create a new project: File->New Project (base below Just fill in the installed python path in the interpreter).

How to create a new project in python

The second step is to create a new python file: right-click on the project->New->Python File.

How to create a new project in python

The third step is to write the "hello world" code.

How to create a new project in python

The fourth step is to run the code and check the results.

How to create a new project in python

The above is the detailed content of How to create a new project in python. 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