How to save python code?

little bottle
Release: 2020-09-17 14:16:23
Original
24239 people have browsed it

How to save python code?

As Python’s popularity soars, more and more people are starting to learn Python. In the process of learning, more and more problems arise. Next, I will take you through how to save Python code. You have to pay attention to the programming environment you use.

1. Under Windows system, if you write code directly using the command line, it cannot be saved.

2. Under Linux system, use vi to type esc, then: wq to save.

3. If you are using an IDE, under normal circumstances, just save it directly or ctrl S, the suffix is ​​.py

Related learning recommendations: python tutorial

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

Related labels:
source:php.cn
Statement of this Website
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template