Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install python3.7.3

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to install Python 3.7.3, which has certain reference value. Interested friends can refer to it. I hope you will have a lot of gains after reading this article. Let Xiaobian take you to understand it together.

First visit python's official address: https://www.python.org/, select Downloads-Download for Windows in the menu to download the installation package, here use the latest version 3.7.3:

Double-click the python-3.7.3.exe file to start the installation, select Add Python 3.7 to PATH(convenient to use python command directly under cmd), click Install Now to install:

Wait for the installation to complete, type python --version in cmd command line to check whether the installation is successful, you can see Python version information:

Python 3.7.3 folder can be found in Windows Start menu under All Programs, containing IDLE Python integrated development environment, IDLE is designed to be a simple IDE, suitable for beginners to learn to use), Python interpreter (Python command line, used to explain the Python code), Python standard documentation (suitable for English reading ability to view and learn), Python module documentation (open the document running as a web version, you can view the built-in module, manually install the module):

Next, run python command in cmd to enter python interpreter interface:

First print a line Hello Universe, why not print Hello World here, I think Universe is more suitable for python, here can use single quotes or double quotes in parentheses:

Next declare variable assignment and print, python will automatically determine the variable data type according to the variable value:

Execute the code in the form of a file, first create a file py3_learning.py on the desktop, open it with IDLE of python, and enter a line of print statement in the file:

Run python py3_learning.py in cmd (note the path), or run the file directly in IDLE:

Add a single-line comment preceded by a #:

Thank you for reading this article carefully. I hope that the article "how to install python 3.7.3" shared by Xiaobian will be helpful to everyone. At the same time, I hope that everyone will support you more, pay attention to the industry information channel, and more relevant knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report