Home>Article>Backend Development> How to save program in python

How to save program in python

尚
Original
2019-07-04 16:51:19 11677browse

How to save program in python

When writing python, although you can write in python interactive mode, the written program cannot be saved, so you can use a text editor to write during the actual development process. Below we use A common editor is used as an example to demonstrate how to save a Python program.

1. Open Notepad

How to save program in python

2. If you need to create new text, click "Text" in the upper left corner and click "New" in the pop-up menu bar.

How to save program in python

3. You can also directly click the new icon under "Text".

How to save program in python

4. Save It’s time, save it as a .py file, here save it as hello.py

How to save program in python

For more Python related technical articles, please visit thePython Tutorialcolumn to learn !

The above is the detailed content of How to save program 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
Previous article:How to play music in python Next article:How to play music in python