How to wrap python using cmd

little bottle
Release: 2019-05-23 09:30:36
Original
13105 people have browsed it

Some friends want to try writing Python scripts in cmd, but find that the writing process is extremely difficult. Because in cmd, as long as the enter key is pressed, the program will be executed, which will worry a lot of people. Next, I will show you how to perform line wrapping operations written in Python in cmd.

How to wrap python using cmd

In fact, when we write python programs in cmd, Python uses backslash ("\") as a newline character. (Python3.7.0 example)

As shown in the figure below:

How to wrap python using cmd

The above is the detailed content of How to wrap python using cmd. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!