How to open Python in windows

(*-*)浩
Release: 2019-07-09 10:09:28
Original
26660 people have browsed it

Two ways to run Python in Windows

How to open Python in windows

Understand the programming environment

1 Direct Enable Python from the command line. Of course, if you enter python directly in cmd, you need to set it in the path environment variable in windows.

At this time, the ">>>" symbol will appear when running python in cmd. It means that python has entered the interactive running mode, and simple python commands can be done in this mode.

2. One is to use its own development environment IDLE.

Run the command cmd at the start of the run, enter dos mode, and enter python to enter the python interactive environment.

2. One is to use its own development environment IDLE.

Go to the IDLE interface

## 3. The interactive interface can be used for simple learning and writing larger programs You should go to the specific python file. The default suffix for python files is .py. We can create a new text file and change the suffix extension to .py, then

Finally, select run module under Run in the menu to run. The shortcut key is F5.

For more Python related technical articles, please visit the

Python Tutorialcolumn to learn!

The above is the detailed content of How to open Python in windows. 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 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!