Python进入信息的意义
@(Python入门)
[TOC]
问题描述
进入 Python 的时候都会看到如下提示:
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)] on win32
但是这个提示中的每一句话是什么意思呢?
解释
code | interpretion |
---|---|
Python 3.6.5 | Python version |
v3.6.5:f59c0932b4 | |
Mar 28 2018, 17:00:18 | the build date |
MSC v.1900 64 bit (AMD64) | Compiled with MSVC compiler targeting 64-bit |
on win32 | windows platform |
问题
Q1: why use win32
but not win64
?
A1: It's mainly due to historical reasons. win32
is a bit of a misnomer since it's generally used to refer to windows platform regardless of bit width support.
Q2: why use ()
at first and then use []
?
A2: Elimination of ambiguity. In the second sentence, there is a tip that MSC v.1900 64 bit
is based on AMD64 but not Intel 64, and author use ()
to light that, so if author use ()
in the second sentence, there must be ambiguous.
Q3: f59c0932b4
means?
A3: maybe it is the revision.
参考
[1]Entry message
[2]What does the Python version line mean?
[3]What version of Visual Studio is Python on my computer compiled with?