Home >Backend Development >Python Tutorial >How to create a new py file in pycharm

How to create a new py file in pycharm

coldplay.xixi
coldplay.xixiOriginal
2021-03-08 10:40:2170010browse

How to create a new py file in pycharm: first select the open project file and click the "file" option; then pull down to select "new" and click "Python file"; then select the input file name; finally click OK That’s it.

How to create a new py file in pycharm

The operating environment of this tutorial: windows7 system, pycharm2020 version, DELL G3 computer.

How to create a new py file in pycharm:

1. First, select the already opened project file in the pycharm software interface that is opened.

How to create a new py file in pycharm

#2. Then click the "file" option menu in the menu.

How to create a new py file in pycharm

#3. After clicking the file menu, click the "new" option in the drop-down menu.

How to create a new py file in pycharm

#4. A window will pop up, click on the "Python file" option.

How to create a new py file in pycharm

#5. A new Python file window will pop up, enter the file name.

How to create a new py file in pycharm

#6. After entering the file name, click "ok".

How to create a new py file in pycharm

#7. You can see that the file in the current python is created successfully.

How to create a new py file in pycharm

Related free learning recommendations: python video tutorial

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