Current location - Education and Training Encyclopedia - Education and training - How does python save programs?
How does python save programs?
When writing python, you can write in python interactive mode, but you can't save the written program, so you can write in a text editor in the actual development process. Let's take a common editor as an example to demonstrate how to save Python programs.

1, open Notepad++

2. To create new text, click "Text" in the upper left corner, and then click "New" in the pop-up menu bar.

3. At the same time, you can directly click the new icon under the text.

It's time to save. Save it as a. py file, in this case, hello.py

For more Python-related technical articles, please visit the Python tutorial section to learn! These are the details of how python saved the program that Bian Xiao shared. I hope it will help everyone. For more python tutorials, please pay attention to other related articles of Global Ivy!